NYCPHP Meetup

NYPHP.org

[nycphp-talk] Asynchronous downloads -- how?

John Campbell jcampbell1 at gmail.com
Fri Sep 7 20:10:57 EDT 2007


> > Great call, Dan, I had no idea that session_write_close() even
> > existed, and I serve _everything_ via php. It was like getting the APC
> > speed-boost all over again!

+1 here.

I just changed a bunch of code from:
session_start();
to
session_start();
session_write_close();

It is a god send, as I occasionally do a Cartesian Join by accident
and the site would just stop working for a minute or so.  Now, I know
why and the problem is solved.  All this time I thought MySQL was
using up all of the servers resources.

- John Campbell



More information about the talk mailing list