I want to have more than one connection to my database.
i am using persistent => false
and 5 ajax calls has been made which fetch data, and now each query is waiting for prvs to complete.
I want all these 5 queries run in parallel
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'user' => 'cluster',
'password' => '',
'database' => 'cluster',
'prefix' => '',
);
EDIT:- I got my problem, the problem is blocking connections are being made, how to make non blocking request for my requests..?