Posts Tagged ‘persistent

Dear Apache Software Foundation, and the developers of the Apache Web server:
I would like to thank you for developing a great product. I rely on it daily to host my own sites, and a large number of people on the Internet seem to share my love of this software.
However, it appears that you seem to [...]

This morning’s bounty of posts brought in two that will make you think.
First was Port80 Software’s comments on using the Cache-Control mechanism embedded in all browsers. This is interesting to read, as I have been trying to get companies to use this mechanism more intelligently for a number of years. I know that the Port80 [...]

Dear Flickr:
I have been wondering for sometime why downloads from your site seemed a little sluggish at times.
At first I blamed your unprecedented growth and success. For a little Vancouver startup (I am a BC boy myself), your entrance onto the stage of social networking applications has been phenomenal. The move from zero to infinity [...]

After a few month hiatus, I am starting to code for GrabPERF again. I need to exercise my brain; as I am a hobbyist code mangler, I have to take on a project every now and then to keep my not-so-l33t skillz honed.
The change to the agent is one of efficiency. The current production agent [...]

One of the issues with not being a coder is that development tends to be kludegy. Add in SQL queries and the mess gets worse.
I have made some mods to the Index graphs (daily and hourly) that should only penalize the first person in one of my persistent database connections. After that, the queries are [...]

Ok, one of the tests that the GrabPERF System is running is doing a simple search on the Technorati site.

Ouch.
Now, as I mentioned before, Technorati has some interesting things going on in their www servers. For the Web geeks out there, here is what their headers look like.
HTTP/1.0 200 OK
Date: Mon, 11 Jul 2005 16:15:47 [...]

Dear Technorati…

In: smp

8 Jul 2005

You have noted that you are experiencing some performance issues related to high load (here). So I investigated and found that all the servers at the hostname www.technorati.com are responding with HTTP/1.0 headers and are explicitly closing the connections to the clients.
Why?
This will not relieve the performance problems. In fact, doing this may make the [...]

I have been seeing these bursts of traffic, mainly from spambot morons, that have suddenly been crushing my server. The main cause: excessive database connections.
This was quickly remedied today when I changed all of the mysql_connect statements to mysql_pconnect statements. This allows PHP to use an existing connection to the MySQL database to serve requests [...]


About this blog

Stephen Pierzchala is one of a 10-year veteran of the Web performance field who also writes on topics that interest his non-linear world-view.

Contact

stephen@pierzchala.com

+1 (508) 410-3865