Dalli v2.0.0 Release Notes

    • ๐Ÿšš Reimplemented the Rails' dalli_store to remove use of ActiveSupport::Cache::Entry which added 109 bytes overhead to every value stored, was a performance bottleneck and duplicated a lot of functionality already in Dalli. One benchmark went from 4.0 sec to 3.0 sec with the new dalli_store. [#173]
    • โž• Added reset_stats operation [#155]
    • โž• Added support for configuring keepalive on TCP connections to memcached servers (@bianster, #180)

    Notes:

    • data stored with dalli_store 2.x is NOT backwards compatible with 1.x. Upgraders are advised to namespace their keys and roll out the 2.x upgrade slowly so keys do not clash and caches are warmed. config.cache_store = :dalli_store, :expires_in => 24.hours.to_i, :namespace => 'myapp2'
    • data stored with plain Dalli::Client API is unchanged.
    • removed support for dalli_store's race_condition_ttl option.
    • removed support for em-synchrony and unix socket connection options.
    • removed support for Ruby 1.8.6
    • removed memcache-client compability layer and upgrade documentation.