Re: slow performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, April 25, 2007 4:53 am, Henning Eiben wrote:
> Well ... I did some stress-testing. I create 20 concurrent requests to
> my application: random pages, randomizing the post parameter, which
> causes to load different data from the database (MySQL 5.0.37, running
> on a separate server). My webserver is the same for java and php.
>
> Running my test for about 5 minutes, I get about 31.000 request for
> the
> java application, but only about 3.000 for the php.

Same DB back-end?

Is the Java app caching query results?

There are so MANY possiblities here, that until you profile the code
and find out WHY PHP is so much slower, there's very little we can do
to help...

PHP/MySQL can certainly do WAY better than 3,000 requests in 5 minutes!

Even on windows. :-^

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux