Xmemcached is a high-performance extensible memcached client based on Java NIO implementations.
is actually based on my implementation of a NIO framework yan4j (currently based on yanf4j 0.61-http://www.aliyun.com/zixun/aggregation/11220.html ">snapshot), The serialization mechanism uses Spymemcached's transcoder and makes some modifications.
1. Support more protocols, add append, prepend, gets, batch gets, CAS protocol on the basis of existing protocol support, see the Xmemcachedclient class instance method. The focus is on CAS operations.
2, memcached distribution support, support to connect multiple memcached server, support simple remainder distribution and consistent hash distribution.
Bug fixes since version 3 and 0.60.
Performance has advantages over spymemcached, spymemcached on Windows and Linux two platforms is very inefficient (especially for large objects in the container Class), and xmemcached does not have this problem, If your get operation is far more than the storage operation, then xmemcached's optimization of get is more obvious in concurrency.
The current 1.0-beta version, which supports memcached distributed (remainder hash and consistency hashing algorithms). Several protocols such as GET, set, add, Replace, CAS, append, prepend, bulk get/gets, delete, incr, DECR, version are currently supported. The API is the blocking model, not the spymemcached asynchronous model, the asynchronous model has advantages in batch processing, but the blocking model is much easier to program and use.
xmemcached 1.3.3 Release Notes:
Implements Touch and GAT, commands for memcached 1.6.x,adds new methods to Memcachedclient,includes:
Boolean Touch (String key, int exp, long optimeout);
Getandtouch (String key, int newexp, long optimeout); Method Setlogginglevelverbosity works with binary Kyoto. Make exception infomation more friendly. Deprecated Keyiterator and Getkeyiterator. Bug fixed,include:issue 126, Issue 127, Issue 128, issue 129. Some changes for future version to implement memcached 1.6.x new commands.
Download Address: Http://code.google.com/p/xmemcached/downloads/list