Hacker News new | ask | show | jobs
by chrismorgan 10 days ago
Performance is broader than just slowness; it’s also CPU and memory usage, things which will force you to scale horizontally (multiple machines) much sooner.

In mid-2013, NewsBlur described in some detail their deployment and statistics. Python/Django, 48 servers. I confidently calculated that, with implementation efficient, one would be sufficient, though with little headroom, and further vertical scaling might have started running into I/O limitations. (I doubt a single server would be possible any more.)

It’s popular to scale horizontally far earlier than you actually need to. And if you can commit to sticking with vertical scaling (single big machine), you can simplify (and further speed up) things enormously.

I don’t know about now, but five years ago HN ran on a single server <https://news.ycombinator.com/item?id=28479595>, though with a standby machine also present since 2017ish.

1 comments

True, but scaling out helps with more than load sharing. Singletons are always a risky architecture - what happens when they go down?
They’re risky in that sense, but their very simplicity makes them less subject to other sorts of failures—distributed systems have more and more complex failure modes.

Personally I think it’s a very good trade-off for vastly more businesses and services than actually practice it.

I suspect I may have seen more systems run into availability problems from unnecessarily distributed architectures than from hardware failure, and I’ve definitely seen costlier development due to it.