"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.
Not so. It's not too hard to check if you have some data and then retrieve it from the db as necessary.
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.