The move to memcached_client 1.6.5 in Rails 2.3 seems to have made the
Rails cache about 10x slower.  Since that's the opposite effect I
would expect, I was hoping somebody would explain where I'm misreading
these numbers?

I noticed my fragment caching was slow -- it shouldn't take 2ms just
to read a 2k string from a localhost memcached server:
Cached fragment hit: views/sightings/1556/row (2.3ms)
Cached fragment hit: views/sightings/1557/row (2.4ms)
Cached fragment hit: views/sightings/1558/row (2.2ms)

Then i did some quick and dirty benchmarks on the console:

First, with the "1.6.5" version bundled with rails 2.3
# => cache benchmark: (182.9ms)

Then I switch memcache_client versions, to 1.5.0:
# => cache benchmark: (18.6ms)

(full benchmark code -- http://gist.github.com/94196)

These numbers hold up on both OSX and Solaris.  I'll submit a ticket
somewhere unless it turns out I'm missing something...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to