4 ms·
"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.
by timg 19y ago
"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.
- ralph 19y agoOh, 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.