[nycphp-talk] Application performance optimization
P. Ju (朱漢璇)
pjlists at pobox.com
Mon Oct 22 17:22:14 EDT 2007
Hi Cliff,
Are you doing remote access of DB, images, or scripts? Recently DNS resolution
with a freshly created site caused me 7-10 second access times to a
remote database.
PJ
> On 10/22/07, Cliff Hirsch <cliff at pinestream.com> wrote:
> >
> > I am testing my production site, and something seems to be very wrong. I
> > just loaded my homepage and it took 53.46 seconds. Clearly unacceptable for
> > a production web site. And there should be zero load on the site, since
> > no-one knows about it. One 775 byte image took 23 seconds. A 51byte image
> > took 6 seconds. The main script took 28 seconds. Pulling in a 60K javascript
> > file took 10 seconds.
> >
> > When accessing the page a second time, where the images and Javascript are
> > pulled from the browser cache, the load time is typically a more respectable
> > 250msec — about what I would expect.
> >
> > I know the script is fast — for the homepage there is barely any load at
> > all. The site seems to be choking on the static content. There are a lot of
> > static images to download... Sure, I expect the static content to take a bit
> > of time to pull in, but 56 seconds?!
> >
> > Are there setting in Apache (or elsewhere) that would stall the download of
> > multiple image files? Number of simultaneous connections, etc. Any idea for
> > how to debug this? I can debug php, for a slow static image? I'm clueless...
> >
> > Thanks,
> > Cliff
> > _______________________________________________
> > New York PHP Community Talk Mailing List
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > NYPHPCon 2006 Presentations Online
> > http://www.nyphpcon.com
> >
> > Show Your Participation in New York PHP
> > http://www.nyphp.org/show_participation.php
> >
>
>
> --
> Patricia Ju
> phj at pobox.com
> +1-646-717-3871
>
> success = fn(perseverance)
>
--
Patricia Ju
phj at pobox.com
+1-646-717-3871
success = fn(perseverance)
More information about the talk
mailing list