codefarm
HomeRoadmapsGuidesQuizzesWhiteboardEbooks
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Kafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderLinkedIn FormatterMind MapFun PuzzlesKids Learning
Profile
Back to System Design
🧱
Phase 2

Core Building Blocks

1

Load Balancing Strategies: L4 vs L7, Algorithms, and Health Checks

Learn how load balancers distribute traffic, the differences between Layer 4 and Layer 7, common algorithms (round robin, least connections, IP hash), and health check mechanisms.

load balancingL4L7
2

Caching Patterns: Cache-Aside, Read-Through, Write-Through, and More

Master essential caching patterns including cache-aside, read-through, write-through, write-behind, and refresh-ahead. Learn when to use each pattern and common pitfalls.

cachingcache-asideread-through
3

Message Queues: Async Communication, Patterns, and Reliability

Learn how message queues enable asynchronous communication, decouple services, and provide reliability. Explore patterns like pub/sub, work queues, and routing keys.

message queuesasyncpub/sub
4

API Gateways: Traffic Management, Security, and Observability

Learn how API gateways act as a single entry point for clients, handling traffic management, security, rate limiting, and observability for microservices.

api gatewaymicroservicestraffic management
5

Data Replication: Strategies, Consistency Models, and Conflict Resolution

Learn how to replicate data across multiple nodes for availability and fault tolerance, covering synchronous vs asynchronous replication, consistency models, and conflict resolution strategies.

data replicationconsistencyavailability
codefarm

Learn backend engineering with clear roadmaps, practical tools, and interactive quizzes. From zero to production-ready.

Learn

  • Roadmaps
  • Guides
  • Blogs
  • Videos
  • Ebooks

Labs

  • Simulators
  • Quizzes
  • Whiteboard
  • JWT Decoder
  • UUID Generator
  • Toolbox

Simulators

  • Uptime SLA
  • Rate Limiters
  • Kafka Message Flow
  • Kafka Consumer Lag
  • Kafka Rebalance

Community

  • Cohorts
  • Testimonials
  • About
  • Contact