andymccurdy/redis-py — pull request #204 by smanek (2011-10-13 09:18:30+00:00)
Title: Add support for DEBUG OBJECT command

This commit adds a 'debug_object' command - so we can get a key's memory usage (among other things).

Being able to access the 'serializedsize' of keys would be a huge benefit for our use. This also lets clients access the refcoung, lru cache info, encoding information, etc for any key.

Thanks,
Shaneal Manek
shaneal@greplin.com