On Tue, 2011-07-19 at 09:41 -0400, Bill Speirs wrote: > I dug deeper into the performance issues I was having... they were all > disk related. > > Attached is a new graph of 1,000 requests, 100 at a time through my > code. It plots having logging enabled and disabled, and registering > and not registering the https scheme. In summary, logging (which I > forgot was also going to disk) turned out to be the biggest culprit. > As the filesystem is on NFS, writing to disk was slowing everything > down quite a bit (as can be seen in red). However, what I found > interesting was the impact of adding the https scheme to the client. > This was causing great pain for my initial connections as all of the > SSL certificate stores needed to be read and parsed in preparation for > a possible SSL handshake/connection. This can be seen in green; the > high numbers in the start. > > With both logging and SSL disabled, I'm able to see ~10K requests per second. > > I'm putting this out there as it is hopefully a help to anyone else > having performance issues... check what you're reading/writing to > disk! >
I should have thought of it. This is a very common mistake. I also had to learn it the hard way. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
