4 ms·
That's why you use intelligent caching.
by ajkirwin 18y ago
That's why you use intelligent caching.
- sounddust 18y agoFor a site this small, there's absolutely no reason the entire database shouldn't be cached in RAM. 32GB of RAM costs about $800. That buys you plenty of time to not have to worry about caching, and instead gives you more time to work on interesting features. For a single-person operation (or even a few people), you have to spend your time wisely.
- jrockway 18y agoBut of course, any sane database will cache as much in RAM as possible anyway. But instead of dying when you run out of memory, it just evicts the least recently used page.