News for hackers. Stuff that matters.
Re:Old box, dumb code, few thousand connections, no big deal by xakahnx on Thursday May 07, 2020 @09:28PM (#23110439)
The general attitude here reminds a bit of the following post from the architect of the Varnish proxy. I think the attitude comes down to the fact that modern kernels and in general the foundations of network programming are pretty strong. We should trust them more.

https://varnish-cache.org/docs/5.2/phk/notes.html

Re:Old box, dumb code, few thousand connections, no big deal by mapgrep on Thursday May 07, 2020 @11:07PM (#23111004)
I would argue you can say the same about foundations of rdbms systems as well. People build similar elaborate caches around those, for example rails has a “russian doll” cache layer built in, not realizing how much time has gone into developing well tuned caches within the database system itself, which simply needs to be allocated sufficiently large ram.
Re:Old box, dumb code, few thousand connections, no big deal by tdeck on Friday May 08, 2020 @12:39AM (#23111441)
Russian doll caching also caches view rendering which can be non-trivial in Rails.
Re:Old box, dumb code, few thousand connections, no big deal by flukus on Friday May 08, 2020 @06:59AM (#23113378)
> not realizing how much time has gone into developing well tuned caches within the database system itself

File systems too. A cron job writing a csv makes a surprisingly simple cache the OS can keep in memory.