tquery vs pquery
#4

Pquery:
Sends a query which will be executed in another thread concurrently and calls the callback (if there is one) when the execution is finished.

Tquery:
Sends a query which will be executed in another thread and calls the callback (if there is one) when the execution is finished

Difference:
The difference between mysql_pquery() and mysql_tquery() is, that this pquery uses multi-threading, thus it's faster depending on how many connections are used. The number of connections can be specified in mysql_connect() through the pool_size parameter. Each connection resembles a thread.
Reply


Messages In This Thread
tquery vs pquery - by Denis1 - 09.04.2015, 12:55
Re: tquery vs pquery - by Boyka96 - 09.04.2015, 13:08
Re: tquery vs pquery - by Denis1 - 09.04.2015, 13:15
Re: tquery vs pquery - by Sithis - 09.04.2015, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)