Decouple the notification trigger from the delivery microservices using persistent message queues.
There is no single "correct" answer in a system design interview. Every technical decision has a downside. If you choose strong consistency (CP), explain why you are sacrificing availability (AP) for that specific feature. system design interview alex wu pdf
Understand LRU (Least Recently Used), LFU (Least Frequently Used), and FIFO (First In First Out). LFU (Least Frequently Used)
: Storing frequently accessed data in memory to reduce latency and database load. and replication lags.
Sharding strategies, indexes, and replication lags.