Building a Load Balancer from Scratch
Round-robin, least-connections, and consistent hashing: understanding the layer that sits in front of everything.
About this Course
Round-robin, least-connections, and consistent hashing: understanding the layer that sits in front of everything. This Infrastructure Engineering curriculum is designed to give you hands-on experience and deep conceptual understanding.
Across 4 intensive modules, you'll tackle real-world challenges and build practical projects that reinforce your learning. By the end of this journey, you'll have the skills and proof of work to demonstrate your expertise.
What you'll learn
Build a basic TCP proxy that accepts connections and forwards them to a backend server.
Implement multiple routing algorithms to distribute traffic across a pool of backend servers.
Implement consistent hashing to route users to the same server while allowing backend pools to scale.
Add active and passive health checking to automatically remove unhealthy backends and monitor load balancer metrics.
W1
TCP Sockets & Reverse Proxy Basics
TCP Sockets & Reverse Proxy Basics
Build a basic TCP proxy that accepts connections and forwards them to a backend server.
3 videos•34m
3 readings
3 topics
1 homework
References
Week 1: TCP Sockets & Reverse Proxy Basics
Week 2: Load Balancing Algorithms
Week 3: Consistent Hashing & Sticky Sessions
Week 4: Health Checks, Failover & Observability
Rate this course
Community Insights
0Join the discussion
Sign in to share your thoughts and technical insights.
Loading insights...


