mperham/dalli — Issue #143: Using Dalli with rack::session::memcache
Author: vprt
Created: 2011-11-22 12:15:24+00:00
State: open

Hi,
I would like to do my session management using rack::session using memcache for storage.
My Sinatra app in progress is hosted on Heroku and I will be using their Memcache/Membase addon. Heroku recommends using Dalli as the memcache client. I read how to setup and use Dalli to do basic cache write/read, I'm ok with that.
But nowhere can I find instructions on how to plug Dalli into rack::session::memcache? Or is that not even possible? Do i instead have to write a new rack::session::Dalli that would use Dalli instead of the memcache gem?
Thanks.