Memcached 1.5.15 release with ASCII authentication support

Took place release of in-memory data caching system Memcached 1.5.15, which operates on data in key/value format and is easy to use. Memcached is usually used as a lightweight solution to speed up high-load sites by caching access to the DBMS and intermediate data. Code supplied under the BSD license.

The new version implements experimental authentication support for the ASCII protocol. Authentication is enabled with the "-Y [authfile]" option, specifying up to eight login:password pairs in the authfile. Unlike the previously implemented SASL-based binary authentication protocol, the implementation for ASCII is much simpler, does not require external dependencies, and is built by default. When authentication is enabled via the β€œ-Y” option, the binary protocol and operation via UDP are automatically disabled. Access restrictions in relation to logins are not yet supported.

The new release also speeds up incr/decr operations by replacing snprintf. Ensured binary protocol compatibility with idle-timeout functionality. Removed code to support "-o inline_ascii_response" mode, which has been disabled since release 1.5.0. This mode consumes 10-20 bytes more per write to speed up query processing in ASCII mode and lost its meaning after switching from using snprintf to a fast implementation of itoa.

Source: opennet.ru

Add a comment