codefarm
HomeRoadmapsGuidesQuizzesMentorshipWhiteboardEbooksCodeSmash
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Why API GatewayWhy Load BalancerWhy Circuit BreakerKafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderText FormatterMind MapFun PuzzlesKids Learning
Profile
Back to Backend Engineer
⚡
Phase 6

Caching, Locking & Performance

Redis caching, distributed locks, rate limiting, and performance-focused backend patterns.

1

Redis Core Concepts: Data Structures, TTLs, and Persistence

A staff-engineer guide to Redis data structures, expiry semantics, and RDB/AOF persistence trade-offs for backend caching layers.

backend-engineerredisttl
2

Cache-Aside, Write-Through, and Write-Behind Strategies

A staff-engineer guide to cache-aside, write-through, and write-behind patterns, plus stampede mitigation and consistency traps.

backend-engineercache-asideconsistency
3

Distributed Locks and Rate Limiting with Redis

A staff-engineer guide to Redis-based distributed locks, Redlock trade-offs, and token bucket and sliding window rate limiting.

backend-engineerdistributed-locksrate-limiting
4

Redis Pub/Sub and Event Fan-Out Patterns

A staff-engineer guide to Redis Pub/Sub mechanics, real-time fan-out design, and where it falls short of a real message broker like Kafka.

backend-engineerpubsubfan-out
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

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund & Cancellation