Hi all. I’ve been upgrading one of my apps to Rails 2.2.2 and started
playing with the threadsafety option. I had to modify a fair bit of how
certain ruby files load since Rails’ threadsafety option means that you
have
to load your non-standard (i.e., presenters and other ruby
classes/modules
that aren’t in known paths) explicitly. Anyway, I’ve gotten most of it
working, but have started noticing that memcache is an issue when it
comes
to threadsafety. For some reason, I’m getting IO errors with memcache.
I’m
not sure if it has anything to do with my use of memcache-client or
cache_fu
yet. Have any of you hit upon this issue?
BTW, if I turn caching off, I’m getting around 40reqs/sec (ab -n 1000 -c
100) on a single instance on a somewhat sql heavy page. Not bad. Can’t
wait to see the results after I get caching worked out.
Rich