in reply to Re^2: a IO:SELECT problem
in thread a IO:SELECT problem
Unless your MySQl server is running distributed, or on a machine that has dozens of processors, your 200 'concurrent' queries are going to be seriealised anyway.
It might be better to start a (small, 2 or 3) pool of DB worker threads in your application, and queue the queiries and results to/from the server. However you choose to do it, only 1 or 2 of your 200 queries are actually going to run concurrently, and the 200 threads/processes that issue those queries will all be waiting for their results anyway.
It's really quite hard to see what you hope to achieve by issuing concurrent queries from a client process?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: a IO:SELECT problem
by ablmf (Acolyte) on Jun 26, 2006 at 16:09 UTC |