frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Surprising Economics of Load-Balanced Systems

https://brooker.co.za/blog/2020/08/06/erlang.html
25•KraftyOne•3h ago

Comments

crypttales•1h ago
Of course, this assumes independent events. World Cup, super bowls, etc break these assumptions.

Still, queuing theory is so cool.

nilsherzig•1h ago
Why would anyone think that it would get linearly worse? What's the (wrong) assumption there?
PunchyHamster•1h ago
I think author made it up just to have something more to show up on graph.
antonvs•1h ago
It was a poll on Twitter, do you really expect good responses?
mjb•36m ago
One explanation would be that more load could mean higher (absolute) variance in queue length, and therefore higher latency especially at higher percentiles. It doesn't work out that way (for reasons that Erlang actually writes about in one of his original works), but it's not an entirely unreasonable intuition.
physix•25m ago
I thought the same thing. But, should we be surprised about what people believe in these days?

I think that the issue is in part due to the variables. Plotting the mean request time is less intuitive than plotting throughput.

If you plot throughput vs number of servers, it'll be a straight line. And asking people that, I think most would agree on a straight line. But who knows!

bigcat12345678•1h ago
Seemingly inconsequential article on hacker news and assume it probably is the kind of article that describes a profound idea with a naive title. And turns out it's actually very confusing as it puts overweight dramaticity over mundane intuition. Those type of writing belongs to literature sphere, not technology writing.
megamalloc•50m ago
What's conspicuously missing is the plot of performance when you do have a well tuned queue in front of the service. Yes, having a queue becomes less important the more backend servers you have, but here even with 10 servers the plot shows your latency remains >25% worse than it would be with a queue. Also missing is discussion of how the variance in processing times affects you when you rely on load balancing alone.
mjb•40m ago
> What's conspicuously missing is the plot of performance when you do have a well tuned queue in front of the service.

As in between the service and the load balancer? There's already an infinite queue in the load balancer. You can try that out on https://stability-sim.systems/ to see the effect, but the short version is that (in this model) it makes things worse.

If you're saying that the queue in the load balancer should be limited in size to reduce tail latency, then I agree.

mjb•32m ago
A dead comment says:

> Of course, this assumes independent events. World Cup, super bowls, etc break these assumptions.

Yes, this is very true. The model here works for Poisson arrivals and exponential service time (the M/M), which are poor approximations of real-world traffic patterns (which tend to be non-stationary and non-ergodic, and include substantial seasonality). However, the frequency of that seasonality is typically rather low (e.g. daily cycles), and so these stronger assumptions are quite defensible for short time periods.

A better approach is to do simulation with real traffic patterns, or even with more sophisticated parametric models, and get better answers (e.g. https://stability-sim.systems/). The good news is that kind of simulation is cheaper to do than ever before.

bijowo1676•27m ago
the article offers a simplified world model: Poisson arrivals and infinite queue, which is fine as a math model.

In the real world however, the bursts can be correlated, due to factors like timeouts/retries, thundering herd, correlated bursts.

so the real economics of load-balanced system is a simple reliability story: being able to reasonably serve the peak traffic, which leads to over-provisioning of those systems.

using cloud allows some form of scale up/down of resources, but doesn't completely solve the problem. I think the migration away from synchronyous systems towards async systems and letting clients gradually absorb the delays is a better approach (rather than forcing infrastructure to be dynamically scaled up/down and be billed per request-second by your cloud provider)

Norway imposes near ban on AI in elementary school

https://www.reuters.com/technology/norway-imposes-near-ban-ai-elementary-school-2026-06-19/
346•ilreb•8h ago•213 comments

Bobby Prince, composer for Doom, Wolfenstein 3D, and Duke Nukem 3D, has died

https://www.legacy.com/legacy/robert-bobby-prince-lll
141•pgrote•4h ago•12 comments

There are no instances in ATProto

https://overreacted.io/there-are-no-instances-in-atproto/
321•danabramov•9h ago•185 comments

Think of the Children: How to Force Real ID for All Internet Traffic (2023)

https://nochan.net/b/Internet-Crap/20230829-Think-Of-The-Children/
55•Bender•3h ago•13 comments

I used sound waves to make espresso. It could cut coffee‑brewing energy use by ¾

https://theconversation.com/i-used-sound-waves-to-make-espresso-it-could-cut-coffee-brewing-energ...
169•zeristor•6d ago•106 comments

Americans express unease over SpaceX's influence on retirement savings

https://www.theguardian.com/science/2026/jun/19/spacex-retirement-savings-elon-musk
83•ValentineC•1h ago•37 comments

Hyundai buys Boston Dynamics

https://startupfortune.com/hyundai-takes-full-control-of-boston-dynamics-as-softbank-exits-for-32...
603•ck2•7h ago•288 comments

Iran requires insurance on ships using Strait of Hormuz, fees likely to follow

https://www.lloydslist.com/LL1157571/Iran-imposes-mandatory-insurance-on-ships-transiting-Strait-...
26•decimalenough•42m ago•6 comments

Surprising Economics of Load-Balanced Systems

https://brooker.co.za/blog/2020/08/06/erlang.html
26•KraftyOne•3h ago•11 comments

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
531•philonoist•17h ago•326 comments

Egyptian Fractions

https://blog.plover.com/math/egyptian-fractions.html
52•luu•4d ago•0 comments

How many of the 170k English words do you know?

https://vocabowl-870366514258.us-west1.run.app/
211•abnry•10h ago•330 comments

Zenzizenzizenzic

https://en.wikipedia.org/wiki/Zenzizenzizenzic
52•gyosifov•2h ago•17 comments

A 1976 university experiment spun up the U.S. wind industry

https://spectrum.ieee.org/william-heronemus-wind-energy
63•pseudolus•4d ago•5 comments

Google workspace threatening to block Firefox access

https://tales.fromprod.com/2026/169/google-workspace-threatening-to-block-firefox.html
401•birdculture•7h ago•134 comments

DuckDB Internals Part 1

https://www.greybeam.ai/blog/duckdb-internals-part-1
426•marklit•3d ago•128 comments

Telescope Ranchers

https://kottke.org/26/06/telescope-ranchers
94•bookofjoe•3d ago•36 comments

Court Records Should Be Free

https://www.eff.org/deeplinks/2026/06/court-records-should-be-free
198•hn_acker•6h ago•33 comments

How do flocking birds and schools of fish move?

https://www.nyu.edu/about/news-publications/news/2026/june/how-do-flocking-birds-and-schools-of-f...
5•hhs•1h ago•0 comments

Show HN: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
81•rakeda•3d ago•23 comments

A Perceptron in Age of Empires II

https://adewynter.github.io/notes/aoe2-circuits
14•EvgeniyZh•1d ago•4 comments

A new bill takes aim at government pressure to silence lawful online speech

https://www.eff.org/deeplinks/2026/06/new-bill-takes-aim-government-pressure-silence-lawful-onlin...
227•hn_acker•6h ago•111 comments

Zen and the Art of Machine Learning Research

https://blog.jxmo.io/p/zen-and-the-art-of-machine-learning
232•jxmorris12•3d ago•74 comments

RhinoCollab a plugin for real-time editing for Rhino 3D

https://rhinocollab.com
12•Ashxius•5d ago•2 comments

AURpocalypse now: a look at the recent AUR attacks

https://lwn.net/SubscriberLink/1077619/f7b07c5489fdd43a/
22•jwilk•7h ago•10 comments

Ten years of ClickHouse in open source

https://clickhouse.com/blog/open-source-10
267•saisrirampur•4d ago•71 comments

To study how chips work, MIT researchers built their own operating system

https://news.mit.edu/2026/to-study-how-chips-really-work-mit-researchers-built-their-own-operatin...
347•speckx•4d ago•53 comments

The AirPods Effect

https://www.theescapenewsletter.com/p/the-airpods-effect
374•herbertl•1d ago•672 comments

Gribouille 0.3.0: A Grammar of Graphics for Typst

https://mickael.canouil.fr/posts/2026-06-15-gribouille-0-3/
205•mcanouil•4d ago•76 comments

Big Banana Car

https://bigbananacar.com/
115•Bender•6h ago•66 comments