The RoLLing cOde

Rumor, crap and unoriginal | 谣言、扯淡、非原创

2007-10-24

Memcached hack from Sina guys

a BDB-backended memcached hack

http://code.google.com/p/memcachedb/


similar to Tugela.

Supported memcache command

* get, set, add, replace
* incr, decr
* delete
* stats
* flush_all

Private commands

* db_checkpoint
* db_archive

Labels: ,

2007-09-20

Cool features upcoming in memcached

Memcached is cool, KISS and powerful. After no-new-release-silence of months, I'm always expecting some new feature from it. Here are things I'm looking forward:


  • 64 bit counter: patch available from Evan Miller
  • APPEND: patch available from Filipe Laborde
  • Binary wire protocol: patch and python/java client code available from Dustin Sallings
  • Atomic operation: patch available from Chris Goffinet
  • Mass deletion: have not seen the patch yet, but I believe it will not take too long...
  • Replication? Sounds cool, but a bit complex and not so useful IMHO.
  • Storage backend? Useful in certain cases, but not so necessary since we have Tugela and NMDB. Ofcoz the world will be more perfect if author of NMDB make a memcached-compatible interface.
  • Iterating keys/items? Useful or not? Certainly leads to abusing.

For all memcached lovers, we should give our thanks to Facebook, who contributes patches and hosts hackathon. :)

Labels: