[Cialug] decreasing website latency

Josh More MoreJ at alliancetechnologies.net
Thu Nov 4 08:20:12 CDT 2010


I do not believe that wget is a good tool for testing SSL, as it will have to negotiate the keys every time it runs.  A browser should do it on the first hit and then store them for future hits so the entire session is reasonable.

-Josh More, CISSP, GIAC-GSLC, GIAC-GCIH, RHCE, NCLP
morej at alliancetechnologies.net<mailto:morej at alliancetechnologies.net>
515-245-7701
________________________________
From: cialug-bounces at cialug.org [cialug-bounces at cialug.org] on behalf of Matthew Nuzum [newz at bearfruit.org]
Sent: Thursday, November 04, 2010 08:15
To: Central Iowa Linux Users Group
Subject: [Cialug] decreasing website latency

I have a simple "hello world" php web page. When I do a wget https://.../index.php (it is an ssl website) it takes .477 seconds. Ping time is .060 seconds.

Any suggestions on what I can do to decrease latency? The apache server has (and needs) PHP. The phpinfo() page shows a lot of modules I don't need but I don't see them listed in php.ini. Currently using xcache, mod_php and mod_rewrite. Also, the SSL certificate is chained, does that affect performance? I'm very motivated to cut that latency in half or better. The site will be hosting dynamic content but I'm targeting an app that really needs to feel snappy and I think that will be challenging with half a second of latency.

/me does a quick test on a non-ssl website...

Ah, latency is down to .147 seconds on the http version of the site on the same server. So I guess my focus need to be on optimizing ssl. That also makes me wonder if wget is a good tool for testing ssl website latency.

I appreciate your suggestions, thanks.

--
Matthew Nuzum
newz2000 on freenode, skype, linkedin, identi.ca<http://identi.ca> and twitter

"An investment in knowledge pays the best interest." -Benjamin Franklin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20101104/b3f6ce67/attachment.htm 


More information about the Cialug mailing list