We all know MYSQL.
We all know memcached.
I love memcached. You have a string key , and it returns a value. Dead simple.
Is there a database for memory?
For example, I am building a website that needs to keep track of LOGGING. Everything people do…I need to keep track of. But it would be slow to write to disk every time someone hits a page…
So I want to keep it in memory.
The problem is, memcached is way too simple for this. I don’t want to store this in memcached:
log1:query:apple,12-11-2009:32:33,3,5,2
Is there a tool as simple to use as memcached, but offers more functionality rather than basic key-value?
The key is simplicity to use, simplicity to learn, yet it works!
I think SQLite may fit your needs. It is a full-fledged relational database (in fact, you control it using SQL commands, as the name implies), but very lightweight and allows databases to be maintained entirely in memory.