Re: DB_DataObject performance
| From: | Olivier Guilyardi | Date: | Sun, 30 Oct 2005 22:11:05 +0000 |
| Subject: | Re: DB_DataObject performance | ||
| References: | 1 2 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-40355@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
>
> 3000 hits per hour (assuming squashed in 10 hour period)
> =~50 hits per minute..
> if you run ab (apache benchmark) -
> ab -c 30 -n 100 http://yoursite/a_page_that_may_be_slow.php
>
> you should see how it copes with 100 requests, 30 concurrently - if it
> responds in less than 60 seconds, you should be OK...
> My guess is that would be no problem, the bigger bottleneck (as
> previously mentioned) is optimizing your queries - run with debugging
> on, and see if you really need to fetch all the data it is fetching - or
> if you are fetching the same data multiple times.. (rather than caching
> the results..)
Right, I'm gonna do such benchmarking. Thanks.
--
og