Skip to content

Instantly share code, notes, and snippets.

@jcalvert
Created August 15, 2011 16:12
Show Gist options
  • Save jcalvert/1147082 to your computer and use it in GitHub Desktop.
Save jcalvert/1147082 to your computer and use it in GitHub Desktop.
dalli vs memcached
ruby-1.9.2-p290 :001 > require 'dalli'
=> true
ruby-1.9.2-p290 :002 > require 'memcached'
=> true
ruby-1.9.2-p290 :003 > Dalli::Client.new('localhost:11211').get('[email protected]')
=> "\x04\bi\x02 \v"
ruby-1.9.2-p290 :004 > Memcached.new('localhost:11211').get('[email protected]')
=> 2848
ruby-1.9.2-p290 :005 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment