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.
https://varnish-cache.org/docs/5.2/phk/notes.html