4 ms·
The bottleneck is always. The. Database.
by Areading314 5y ago
The bottleneck is always. The. Database.
- nostrademons 5y agoUnless you're working on a site that's been specifically architected to not use databases. You're posting this comment on one now; HN stores everything in RAM and periodically journals snapshots out to disk so they survive reboots. Last I heard the whole site runs on one box.
- unoti 5y ago> specifically architected to not use databases. You're posting this comment on one now; HN stores everything in RAM and periodically journals snapshots out to disk so they survive reboots Yep! And for those that didn't know, this strategy on HN and other paulg projects is actually what inspired Redis! See this antirez tweet https://twitter.com/antirez/status/1110468354542919681 https://twitter.com/antirez/status/1110468354542919681 and https://news.ycombinator.com/item?id=19498379 https://news.ycombinator.com/item?id=19498379
- blowski 5y agoFascinating! Do you have a link to an article that explains that in more detail?