3 ms·
This is great, I was really hoping for Redis to take this direction, since keeping everything in memory wasn't great for my current project. In the same vein,
by ehsanul 17y ago
This is great, I was really hoping for Redis to take this direction, since keeping everything in memory wasn't great for my current project.
In the same vein, I have an idea about forking memcached and turn it into "memd". Instead of just caching for reads, it would allow writes to be done in memory too, which are asynchronously synced to disk when an item expires, or based on certain conditions (I'm thinking based on both time since last updated, and when enough updates are made). Now obviously, this only works if the data you store isn't all that important, which is probably the case for most web applications.
- leej 17y agoand that's called Redis
- ehsanul 17y agoWell, the idea preceded Redis and applies more widely. The advantage of having it the way I mentioned is that any database could be plugged in at the back, just as memcached as no requirements for what method of persistence is used. That makes it attractive for other reasons.