This may be just focusing on one part of your deployment, but why not try out http://litespeedtech.com/ to replace the mongrel+apache layer in one step?
We use it for a couple of our sites which are fairly well trafficked (millions of uniques per month between them): http://www.funadvice.com http://www.medications.com Sure, its not open source, but there is a free version and you can get the paid version when its worth it. We use the paid version for funadvice.com and the free version for medications.com We've noticed much more snappier response times, and we no longer have to worry about how many mongrels to run, etc. as that's taken care of. Sure it won't make your core rails app faster, but at least now with a fairly mature layer to manage the web serving part, you can focus your efforts on your app. Moreover, there's nice real-time monitoring built into litespeed itself so you can see how many requests per second you're getting, memory and load you're using etc. For multiple servers there's the load balancer as well. It also handles apache style mod-rewrite statements quite well. Nothing's perfect, but believe me, much of the memory issues, and uptime issues go right away. I no longer have to run monit for watching a pack of mongrels. We still use mongrels for development and pre-production chores, but for production its litespeed all the way. Anyway... just my two cents (and hey, I don't work for litespeed). - Ericson Smith http://www.funadvice.com On Nov 26, 2007 10:50 PM, Zed A. Shaw <[EMAIL PROTECTED]> wrote: > > On Mon, 26 Nov 2007 23:48:40 +0100 > Bob Br <[EMAIL PROTECTED]> wrote: > > > > > Yeah, the db appears to be a bit of a bottleneck as we have to jump > > through some hoops to get this stuff connected. > > > > Just for fun, I changed the environment to active record sessions, and > > it dropped from 200ish to ~25. I switched it back, got 200, tried AR > > again and got the 20s again. So I don't know think I'll be trying > > database solutions. I'll try and rip apart the code to see how many AR > > objects I was storing in the session (just 1 or 2 I think) and see about > > switching that out so I can use memcache. > > When you run multiple processes, you'll wish you'd avoided the PStore. > > -- > Zed A. Shaw > - Hate: http://savingtheinternetwithhate.com/ > - Good: http://www.zedshaw.com/ > - Evil: http://yearofevil.com/ > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" 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-deployment?hl=en -~----------~----~----~----~------~----~------~--~---
