CODEFARM
HomeSimulatorsLearnWhiteboardCohortsEbooks
Simulators
Kafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLACaching
Learn
Tools
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.

18 minload 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.

20 mincachingcache-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.

22 minmessage 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.

20 minapi 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.

22 mindata 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

© 2026 CODEFARM. All rights reserved.

Built with Next.js, Tailwind CSS, and shadcn/ui