Monitoring Microservices — Log, Metric & Correlation ID (BMS)
Giám sát microservices: ba trụ quan sát (log, metric, tracing) và correlation ID để theo dõi request xuyên nhiều service.
THE ENGINEERING JOURNAL
Các bài viết về system-design.
Giám sát microservices: ba trụ quan sát (log, metric, tracing) và correlation ID để theo dõi request xuyên nhiều service.
Backpressure giúp hệ thống không sụp khi producer nhanh hơn consumer: drop, block, backoff hay adaptive. Kèm code Go thực chiến.
Chọn công nghệ giao tiếp giữa microservices: so sánh REST, gRPC và message broker, tiêu chí lựa chọn và schema evolution.
Idempotency key giúp API xử lý an toàn khi client retry: trùng request vẫn trả kết quả cũ, không bao giờ trừ tiền 2 lần.
Afterword Building Microservices: khi nào nên và không nên dùng microservices, cạm bẫy tách nhỏ quá sớm và khởi đầu an toàn với monolith.
Thundering herd là gì? Khi một key cache 'nóng' hết hạn, hàng chục nghìn request cùng đổ vào database. Kèm cách chặn: singleflight, Redis lock và jitter TTL.
Vai trò kiến trúc sư trong kỷ nguyên microservices: governance bằng principles, fitness functions, paved road và quản lý tech debt.
Conway's Law: cấu trúc team quyết định kiến trúc hệ thống. Stream-aligned teams, platform teams, cognitive load và cách tổ chức team cho microservices.
UI composition cho microservices: page-level, server-side (SSI/ESI), client-side — micro frontends và cách tránh UI monolith.

Scaling microservices qua 4 trục: vertical, horizontal duplication, data partitioning và functional decomposition — khi nào dùng trục nào, kèm caching và CQRS.
