News for hackers. Stuff that matters.
Re:Building a highly-available web service without a database by bingo-bongo on Saturday August 10, 2024 @01:56AM (#41207629)
You don’t even need a ram disk imho, databases already cache everything in memory and only writes reach the disk.

Just try and cold-start your database and run a fairly large select twice.

Re:Building a highly-available web service without a database by piker on Saturday August 10, 2024 @03:54AM (#41208014)
Also the OS will cache a lot of the reads even if your database isn’t sophisticated enough or tuned correctly. Still could be a fun exercise, as with all things on here.
Re:Building a highly-available web service without a database by LtdJorge on Saturday August 10, 2024 @01:39PM (#41211022)
Any half decent DBMS bypasses the page cache, except for LMDB.