Xmemcached v1.3.3 publishes High-performance scalable memcached clients

Source: Internet
Author: User
Keywords High performance xmemcached
Tags aliyun based client clients distribution framework get high

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.