Re: [PHP4BETA] php4+zend speed...
| From: | Dan Libby | Date: | Thu, 03 Feb 2000 23:13:02 +0000 |
| Subject: | Re: [PHP4BETA] php4+zend speed... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9768@lists.php.net to get a copy of this message | ||
ml@buildfreedom.com wrote:
> These might qualify as large sites:
> http://www.superpages.com (GTE)
> http://www.linux.com
> http://www.livebid.com (Amazon.com)
>
> Does anyone know of any more?
http://www.epinions.com (PHP4, beta 2). Performance has not
been an issue
thus far.
> > and PHP4 performed pretty damn good.
> > It was a `hello world' page, and I also read rummors that PHP4 doesn't
> > scale well on large/numerous files. Anyways, I'm looking forward for
> > some official benchmarks too.
>
> PHP 4 scales very nicely on large/complex files. PHP 3 does not.
>
I wrote a PHP4 module the other day that returns buffers representing (up to)
the entire page to be displayed by the browser. It uses the RETURN_STRING
macro. Anyway, when the file is very large (100k+) it takes several seconds
to return the page. The RETURN_STRING is executed within 1/10th of a second,
so the rest is PHP/apache processing. When I stop httpd in gdb, it appears
to be stuck in an apache function called large_write().
Any thoughts?
-dan
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf
Attachment: [text/x-vcard] Card for Dan Libby danda.vcf