Hey  Zed, didn’t realize you had posted a handful of replies there and 
just caught the last one when I sent that reply one so heres a little 
backtracking.


Pstore – using it because it is the default rails uses, not because it 
was reported to be super efficient.  As mentioned previously, the DB 
version is a no go (unless we use our mysql db just for the sessions) 
and memcache will require a little bit of a rewrite of the code, but 
should be worth it.  Up until about a month ago, everything was going 
more or less fine for our users.  We have gotten complaints about 
unresponsiveness on the server and had planned a hardware upgrade 
anyways, but decided to do some benchmarking prior to switching over. 
The results were not good, signaling some other problem – like a stock 
apache config for instance.  We will be switching away from pstore asap, 
now that you’ve show me the light.

>What are your performance goals for the application in req/sec and 
>kbytes/sec.

The performance goals are actually pretty modest.  Perhaps 50 page 
requests when the database is being hit, perhaps less even.  Running 
mongrel cluster should buy some extra performance, but I’d still like to 
get that baseline improved.

>This seemes pathetic for an Apache config, and the wide range in your 
>averages says that your box sucks or your testing it over a crappy 
>connection.

As described in the prior post, the server is a decent machine.  If I 
recall correctly, I’m hitting the switch on a 10/100 card, and 
everything after that is running on gig connections.  I’m in the same 
subnet as these servers, so there shouldn’t be more then a hop or two 
between us.  What I didn’t mention that I was testing by using a VM 
machine running linux from my desktop, with a core all to itself. 
Didn’t think it would be that resource intensive, but I’ll get httperf 
on real hardware on Tuesday and see how much a difference that makes.

> (mongrel - blank controller / index file, no global layout etc.)
That was an error on my part – I meant to say ruby through mongrel, 
without any actual code being processed.  It was shorthand from when I 
was benchmarking, and I just copied it over.

> Why do people post anonymously? 
Bob Brazeau, nice to meet you.  Didn’t mean to irritate, just trying to 
avoid excess spam and whatnot.  Thought I was doing better then most by 
registering for an actual forum account as opposed to using guest.

>Nobody cares if Super Secret Microsoft Supported Company.com is using 
>Mongrel.
Not a MS shop here, we’d go another route and use OSS whenever we can, 
but with some of our enterprise / specialized software we don’t have 
another choice.  Ya work with what you got.

Its been eye opening so far.  Going to be a busy couple of days while I 
dig into all of this!

Bob Brazeau - Not to be confused with an anonymous poster :)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to