Skip to content
Rack based Tokyo stored (FAST!) Rails session store.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
benchmark
lib
spec
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION
tokyo_store.gemspec

README.rdoc

TokyoStore

Rack based Tokyo stored (FAST!) Rails session store.

Code

github.com/nofxx/tokyo_store

Demo

github.com/nofxx/tokyo_webapps under rails/tokyo_store

Require

Tokyo Cabinet and/or Tyrant

tokyocabinet.sourceforge.net

Choose an adapter:

Tyrant - Pure Ruby

tokyocabinet.sourceforge.net/tyrantrubydoc

Cabinet - C Bindings

tokyocabinet.sourceforge.net/rubydoc

RufusTyrant - Rufus FFI

github.com/jmettraux/rufus-tokyo

Install

gem install nofxx-tokyo_store

Rails (enviroment.rb)

config.gem 'nofxx-tokyo_store', :lib => 'tokyo_store'
ActionController::Base.session_store = Rack::Session::<ADAPTER (Tyrant, Cabinet or RufusTyrant)>

Tyrant

Start the server if you are using a Tyrant based adapter:

ttserver data.tch

Some rake tasks: gist.github.com/147413

Have fun!

Thanks

Mikio Hirabayashi

tokyo products

John Mettraux

rufus-tokyo

Luca Guidi

redis-store

Copyright

Copyright © 2009 Marcos Piccinini. See LICENSE for details.

Something went wrong with that request. Please try again.