Đang mở hậu trường...
Chọn đáp án để xem tỉ lệ cộng đồng và giải thích. Câu hỏi được chọn tự động — mọi người cùng làm 1 câu mỗi ngày.
Your platform serves a product catalog to 40 microservices. Today each service keeps its own in-process Caffeine cache (TTL 5 min) of catalog entities. After a pricing bug shipped bad data, it took 5 minutes for all nodes to converge, and finance demanded sub-second correctness for price changes. Traffic is read-heavy (99:1), p99 latency budget is 30ms, and the catalog service cannot absorb full read traffic if caches are removed. As the engineering lead, which architectural direction best balances correctness, latency, and organizational cost?