Cookies, Rails and Performance
Recently, the Ruby on Rails edge gained a new feature: cookie-based sessions. There’s pros and cons to this, but I’m curious to see how it plays out. It definitely reduces the shared components even further, but I wonder how performance will manage against other back-end stores, such as memcached. The YUI blog has a look at the impact of cookie size on performance that makes me think it might not be bad if you don’t store much of anything in it.
This entry was posted at 12:06 am on 2 March 2007 and is filed under Ruby. You can follow any responses to this entry through the post-specific RSS 2.0 feed.
Unfortunately, right now I’m working only with the released version of Rails. I’ll probably try and play with this some in the coming days though.
You can leave a response, or trackback from your own site.
Have you been able to get it to work? I tried it on a fresh app but the second hit returned a stale cookie error.
This does seem like a great option for 90% of web apps.