Skip to main content
Abstract Algorithms Logo
Abstract Algorithms
Distributed Systems โ€ข Sequential Learning Curriculumยท0 Curated Conceptsยท6 Progressive Stagesยท~0m Total Read

๐ŸŒDistributed Systems

In distributed systems, networks are asynchronous, packet loss is normal, and clocks drift. This volume establishes the mental models from node replication and quorum to fault isolation.

Foundational Invariants & Core Principles:

ยงCAP Theorem & PACELCยงFallacies of Distributed ComputingยงLittle's Law of QueuingยงIdempotent State Machines
Stage 014 Concepts

Foundations & Network Communication

Fallacies of distributed computing, packet transport, reverse proxying, and client/edge caching layers.

Step 1.1
~6m readintermediate

TCP/IP & Linux Socket Networking Internals

TCP delivers an in-order, guaranteed byte stream across unreliable packet-switched IP networks. The Linux kernel manages this via send/receive socket buffers (SO_SNDBUF/SO_RCVBUF), sliding-window flow control to protect receivers from saturation, and congestion algorithms (CUBIC/BBR) to regulate transmission across shared bottlenecks.

Explore Concept Journeyโ†’
Step 1.2
~6m readintermediate

Reverse Proxy Patterns & Edge Load Balancing

A reverse proxy acts as an intermediary gateway positioned between external clients and private backend services. It terminates client TLS handshakes, multiplexes requests across persistent upstream connection pools, distributes traffic via balancing algorithms (Round Robin, Least Connections, P2C), and guards internal services against direct internet exposure.

Explore Concept Journeyโ†’
Step 1.3
~5m readintermediate

In-Memory Caching & Event Loop Architecture

Caching stores high-frequency read data in fast RAM instead of slow disk/network databases. Redis achieves sub-millisecond QPS by operating a single-threaded event loop paired with OS epoll I/O multiplexing, completely eliminating thread locking contention.

Explore Concept Journeyโ†’
Step 1.4
~6m readintermediate

CDN Architecture & Geo-Distributed Edge Caching

A Content Delivery Network (CDN) is a globally distributed network of Points of Presence (PoPs) that terminates client TCP/TLS connections physically close to users via BGP Anycast routing. By serving cached static assets and API responses from the network edge, CDNs reduce origin server load by 80-95% and drop round-trip times from hundreds of milliseconds to under 15ms.

Explore Concept Journeyโ†’
Stage 022 Concepts

Data Partitioning & Hash Distribution

Horizontal scalability, consistent hashing rings, and range/hash database sharding strategies.

Stage 035 Concepts

Replication, Quorum & Consistency Models

Quorum read/write mechanics, PACELC/CAP invariants, anti-entropy repair, and hinted handoff.

Stage 048 Concepts

Consensus, Coordination & Distributed Transactions

Leader election, replicated log sequencing, split-brain protection, atomic commit protocols, and distributed locks.

Step 4.1
~5m readintermediate

Leader Election Patterns

Leader Election Patterns is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Step 4.2
~5m readintermediate

Gossip & Membership Protocols

Gossip & Membership Protocols is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Step 4.3
~5m readintermediate

Replicated Logs & Sequencing

Replicated Logs & Sequencing is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Step 4.4
~5m readintermediate

Split-Brain Prevention

Split-Brain Prevention is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Step 4.5
~5m readintermediate

Two-Phase Commit

Two-Phase Commit is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Step 4.6
~5m readadvanced

Distributed ACID Transactions & Optimistic Locking

Distributed ACID Transactions & Optimistic Locking provides core foundational patterns in Distributed Systems & Storage. Evaluate ACID vs BASE guarantees, Compare-and-Swap optimistic concurrency control, and distributed locking mechanisms.

Explore Concept Journeyโ†’
Step 4.7
~5m readadvanced

Distributed Locking & Redlock Algorithm

Distributed Locking & Redlock Algorithm provides core foundational patterns in Security & Distributed Concurrency. Synchronize atomic operations across distributed nodes using Redis SETNX, TTL fencing tokens, and Redlock consensus.

Explore Concept Journeyโ†’
Step 4.8
~5m readintermediate

CRDTs & Conflict-Free Replicated Data

CRDTs & Conflict-Free Replicated Data is a foundational topic in Distributed Systems & Storage. Engineers use it to make predictable trade-offs under load, failure, and evolving requirements.

Explore Concept Journeyโ†’
Stage 055 Concepts

Asynchronous Messaging & Stream Processing

Decoupled message buffers, dead letter queues, poison message triage, and streaming watermarks.

Stage 064 Concepts

Global High-Availability, Disaster Recovery & Observability

Multi-region active-active architectures, cross-region failover, distributed cron, and end-to-end tracing.