Brian "Krow" Aker (krow) wrote,
Brian "Krow" Aker

Libmemcached 0.38 Release

From the Changelog:

  • C++ interface for libhashkit.
  • Modified memcached_set_memory_allocators() so that it requires a context pointer.
  • memcached_clone() now runs 5 times faster.
  • Functions used for callbacks are now given const memcached_st.
  • memslap now creates a configuration file at ~/.memslap.cnf
  • memcached_purge() now calls any callbacks registered during get execution.
  • Many fixes to memslap.
  • Updates for memcapable.
  • Compile fixes for OpenBSD.
  • Fix for possible recursive decent on IO failure.

    Possibly the most exciting piece is the performance wins for memcached_clone(). In a lot of situations developers use libmemcached with Apache. Each time an Apache process has to be created a clone() call is made (in some PHP architectures this happens with each request). On local testing this went from around ~300ms for me, down to ~28ms in one particular setup.

    If you haven't checked out memslap in recent versions you should. Schooner Technology did quite a bit of work on the tool. You can read up on the new version here.

    We also have updates to memcapable, so if you are interested in seeing how compliant your memcached appliance is, you should check it out.

    You can find the latest and greatest here:
  • Tags: memcached, mysql
    • Post a new comment


      Comments allowed for friends only

      Anonymous comments are disabled in this journal

      default userpic

      Your reply will be screened

      Your IP address will be recorded