top | item 8733168

(no title)

coreymgilmore | 11 years ago

Thoughts on using this as a cache instead of memcache or redis? Yes, it does not have nearly as many features or functions but when raw performance is needed I could see this working (given an api for using this via Node.JS, PHP, etc.).

discuss

order

hyc_symas|11 years ago

You'd be better off using MemcacheDB/LMDB http://symas.com/mdb/memcache/

swah|11 years ago

You seem to have written a great piece of software that you're very proud. I don't understand the ownership very well, but if you're allowed, why don't you promote your database with its own site, like every little javascript library out there?

Good examples: http://duktape.org/ (it might seem silly but that right column makes people want to try it!), http://redis.io (i bet this page wins many folks http://redis.io/topics/twitter-clone)

hendzen|11 years ago

why even pay the cost of memory mapping if its a transient embedded cache not shared between servers?

just use a std::unordered_map, or better yet a tbb::concurrent_unordered_map or whatever the equivalent is for your language

otterley|11 years ago

Because it's shared between processes on the same server.

clutchski|11 years ago

Because it will persist between restarts?