Reddit Programming
208 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Load Balancing at Scale: Hidden Challenges and Lessons Learned
https://www.reddit.com/r/programming/comments/1mmo3d0/load_balancing_at_scale_hidden_challenges_and/

<!-- SC_OFF -->Load balancing seems straightforward, until you run it at scale in dynamic environments. In large systems, whether it’s Kubernetes, container orchestration, or traditional service deployments, upstream servers are constantly changing. Workloads vary in complexity, requests can be uneven, and simple algorithms like round-robin often break down. This post looks at the real-world issues that show up in production: • Traffic imbalance during host rotation • Cold-start spikes when new instances join • How different algorithms (least connections, power-of-two-choices, consistent hashing) behave under stress • The impact of proxy architecture (Envoy vs HAProxy) on load distribution accuracy It’s based on lessons learned from operating reverse proxies in high-traffic environments, and the trade-offs between fairness, efficiency, and resilience. Read here: https://startwithawhy.com/reverseproxy/2025/08/08/ReverseProxy-Deep-Dive-Part4.html?utm_source=reddit&utm_medium=post&utm_campaign=r_programming Curious to hear how others have tackled these challenges in their own systems. <!-- SC_ON --> submitted by /u/MiggyIshu (https://www.reddit.com/user/MiggyIshu)
[link] (https://startwithawhy.com/reverseproxy/2025/08/08/ReverseProxy-Deep-Dive-Part4.html?utm_source=reddit&utm_medium=post&utm_campaign=r_programming) [comments] (https://www.reddit.com/r/programming/comments/1mmo3d0/load_balancing_at_scale_hidden_challenges_and/)
Git Rebase - Explained Like You’re New to Git
https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/

<!-- SC_OFF -->If git merge feels messy and your history looks like spaghetti, git rebase might be what you need. In this post, I explain rebase in plain English with: A simple everyday analogy Step-by-step example When to use it (and when NOT to) Perfect if you’ve been told “just rebase before your PR” but never really understood what’s happening. <!-- SC_ON --> submitted by /u/sshetty03 (https://www.reddit.com/user/sshetty03)
[link] (https://medium.com/stackademic/git-rebase-explained-like-youre-new-to-git-263c19fa86ec?sk=2f9110eff1239c5053f2f8ae3c5fe21e) [comments] (https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/)