I ended up using Dalli. Thank you for the advice @schneems! # I also love your likeable gem. Thanks for the gem!
Yuki On Friday, August 17, 2012 9:50:15 PM UTC+9, richard schneeman wrote: > > Dalli is written in pure ruby and should work across all implementations > (jruby, etc.). It should also work across any future ruby upgrades. > > The client with native c bindings Is faster but would be harder to debug > if issues do appear. Unless you are doing hundreds of thousands or millions > of calls to memcache per day you likely won't notice the speed difference. > > I prefer using Dalli. > > -- > Richard Schneeman > http://heroku.com > @schneems > > Sent from the road > > On Friday, August 17, 2012 at 3:34 AM, Yuki Nishijima wrote: > > Hi, > > I'm planning to use memcache add-on but not sure what gem I should use. > According to the documentation, dalli is > recommended but I like to use memcached gem: > https://github.com/evan/memcached because it's at least 2x faster > than dalli. > > My environment is Ruby 1.9.2-p290 and Rails 3.2.8. Both of the gems work > fine on the environment. > Can anyone describe why dalli is better? or memcached has any problem on > heroku? > > Yuki > > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en
