No commit activity in last 3 years
No release in over 3 years
Tokyo Tyrant cache store for ActiveSupport/Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0.1
 Project Readme
Tokyo Cache Store
=================

An ActiveSupport (Rails) cache-store plugin for Tokyo Tyrant.

Overview

  * File based cache engine
  * Lightning fast - performance comparable to memcached
    http://www.mikeperham.com/2009/03/08/tokyo-cabinet-vs-memcached/
  * High compression rates
  * Excellent replication capabilities

Requirements

  Tokyo Cabinet:
  http://1978th.net/tokyocabinet/

  Tokyo Tyrant:   
  http://1978th.net/tokyotyrant/

  Ruby Bindings:  
  sudo gem install rufus-tokyo

Installation

  As a rails plugin:
  script/plugin install git://github.com/dim/tokyo-cache-store.git

  As a GEM:
  sudo gem install dim-tokyo-cache-store --source=http://gems.github.com

Usage (simplified)
  
  Create a new cache store:
  tchmgr create ./tmp/cache/tt_store.tch # See 'man tchmgr' for a full list of options
  
  Start the tokyo-tyrant server:
  ttserver ./tmp/cache/tt_store.tch # See 'man ttserver' for a full list of options
  
  Configure the Rails cache store (in environment.rb):
  config.cache_store = :tokyo_cache_store, 'localhost', 1978