Re: Will PHP ever "grow up" and have threading?
| From: | Teus Benschop | Date: | Wed, 24 Mar 2010 04:11:32 +0000 |
| Subject: | Re: Will PHP ever "grow up" and have threading? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303167@lists.php.net to get a copy of this message | ||
On Tue, 2010-03-23 at 19:08 -0700, Tommy Pham wrote:
> The response time, max 5 seconds, will be tested on local gigabit LAN
> to ensure the adequate response (optimized DB & code & proper
> hardware) without worrying about users' connection limit and site's
> upload bandwidth limit (which can easily rectify). Then thereafter
> will be doing stress test of about 10 concurrent users. As for the
> major queries, that's where threads come in, IMO, because those
> queries depend on 1 primary parameter (category ID) and 1 secondary
> parameter (language ID). This particular site starts with 500
> products about 15 categories, without many of those mentioned filters,
> later grew to its current state.
>
The bottle neck looking at speed in this example seems to be the
database backend, not PHP. What would be needed is a fast database, and
SQL queries optimized for speed. Teus.