MENU

Fun & Interesting

iptables Demystified - Load Balancing without a Load Balancer (no software installation) (part 2)

Hussein Nasser 17,210 lượt xem 4 years ago
Video Not Working? Fix It Now

Guys, you know how much I love proxies and load balancers but this thing blows me away. In this video I'll explain how to perform low-level native kernel load balancing without any additional software. This will be a layer 4 TCP load balancer.


0:00 Intro and Problem Statement
4:50 Round Robin Kernel TCP Load Balancer
17:30 Random Probability-based Kernel TCP Load Balancer
23:00 Layer 4 vs Layer 7 Load Balancer


iptables commands used in this video
https://github.com/hnasr/javascript_playground/tree/master/iptables



🎙️Listen to the Backend Engineering Podcast
https://husseinnasser.com/podcast

🏭 Backend Engineering Videos
https://backend.husseinnasser.com

💾 Database Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

🏰 Load Balancing and Proxies Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC

🏛️ Software Archtiecture Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9

📩 Messaging Systems
https://www.youtube.com/playlist?list=PLQnljOFTspQVcumYRWE2w9kVxxIXy_AMo

Become a Member
https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

Support me on PayPal
https://bit.ly/33ENps4

Join our Thriving Backend Community on Discord
https://discord.com/invite/CsFbFce

Stay Awesome,
Hussein

Comment