Ask HN: Which persistent in-memory database to use?

https://news.ycombinator.com/item?id=626787
by paraschopra • 17 years ago
28 24 17 years ago

My particular task involves a lot of (>100 per sec or perhaps >1000 per sec) reads/writes to the database. Though I haven't tested, but I doubt the db I am using (MySQL with MyISAM as storage engine) would scale to that level without a lot of additional resources (slaves, memory, faster disks).

So I was considering replacing it with a (distributed) memory based key-value or normal RDBMS. The problem is that I want data to be persistent and be able to dump least used data to disk periodically. Ideally it would be like memcache, except instead of deleting expired keys-values, it would dump them to a persistent database.

I have explored Memcache, Memcachedb, Redis, Tokyo Cabinet, in-memory SQLlite and some other solutions but none is close to what I have in mind. Can anybody can suggest a solution? Perhaps tweaking settings of existing solutions would do the job?

PS: I am using PHP as the language, but practically any language would do if I get what I am looking for.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com