Skip to the content.

System Design

Blocking vs non blocking

Buffering and batching

Timeouts

Retries

Load balancers

DNS

partition service and partitions service -

service discovery

replication

message formats

STORAGE hot storage — DB, master cold storage — another DB, or even object storage data federation — multiple data sources united under one API good case for distributed cache

use a batch processing framework like map-reduce if we are not latency sensitive, and use a stream processing if we are. Not both

qualities of the system — pick less than 3

Data flow