Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

You're fortunate your data fits in RAM. And it seems you don't have to worry about machine failure causing unwritten data to be lost despite having accepted it from the user?

Cheers, Ralph.



"your data fits in RAM"

Not so. It's not too hard to check if you have some data and then retrieve it from the db as necessary.


Oh, you said earlier "I just switched my most intensive app to only use the database for backing up the data to disk and reloading from on startup" so I thought you meant you only read data from the database on start-up, hence all data fitting in core.

If you're reading data from it whenever you find the data isn't in core then aren't you using the database?

As for the "thread that writes changes back to disk at its leisure", how do you guard against machine failure after accepting data for writing but before it's been written?

Cheers, Ralph.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: