This library provides a simple interface for asynchronously accessing MemCache using it's Binary protocol. The binary protocol permits compression to be used (using zlib) for large values.
The only implemented methods are get and set!
This library was not extensively tested, so it might still contain some bugs.
USE AT YOUR OWN RISK!!
- Asynchronous (Tornado)
- Binary protocol
- Supports compression using zlib
- Connection pool with hashed key distribution between servers. The hash function may be user-defined, if needed
- CAS get/set support
- Probably better error handing
Auto-close long-idle unused connections
- Tornado >= 3.2
git clone https://github.com/terra/tornadobmc.git
cd tornadobmc
python setup.py install
An example usage is given in the test.py file.