Foundations

Concepts

Core building blocks of distributed systems — read these before or alongside the case studies.

Fundamentals
Availability, reliability, scalability, CAP theorem, consistency models, fault tolerance, PACELC, concurrency, and NFRs.
CAP TheoremPACELCConsistency ModelsFault Tolerance
Open topic
Caching
Write strategies, eviction policies, cache invalidation, distributed caching, Redis internals, and common cache failure patterns.
Eviction PoliciesCache InvalidationDistributed CachingRedis
Open topic
Storage & Databases
ACID, transaction isolation, indexing, CDC, pagination, connection pooling, and read-write splitting.
ACIDIndexingCDCConnection Pooling
Open topic
Database Types
Key-value, document, column-family, search engines, graph databases, blob storage, NewSQL, OLTP vs OLAP, and choosing the right DB.
Key-ValueColumn-FamilyOLTP vs OLAPNewSQL
Open topic
Messaging
Message queue fundamentals, SQS internals, and RabbitMQ — delivery guarantees, routing, and failure handling.
SQSRabbitMQDelivery GuaranteesQueues
Open topic
Event Broker
Kafka architecture, producers, consumers, advanced internals, backpressure, and Kafka vs SQS vs RabbitMQ comparison.
KafkaProducersConsumersBackpressure
Open topic
Event-Driven Patterns
Event sourcing, CQRS, outbox pattern, CDC, and combining inbox + outbox for reliable event delivery.
Event SourcingCQRSOutbox PatternCDC
Open topic
Data Processing
Stream processing, batch processing, Lambda and Kappa architectures, and schema evolution in data pipelines.
Stream ProcessingBatch ProcessingLambda ArchitectureSchema Evolution
Open topic
Distributed Systems
Network uncertainty, consensus, clocks, CRDTs, failure detection, Merkle trees, replication, sharding, and coordination services.
ConsensusCRDTsFailure DetectionSharding
Open topic