Hi guys,
In my application, I use "The ORM also provides Horizontal Sharding facilities" with Mysql https://docs.phalcon.io/en/latest/reference/models.html#setting-multiple-databases
public function selectReadConnection($intermediate, $bindParams, $bindTypes)
But, If I have 100 databases then I must create 100 DBAdapter (Phalcon\Db\Adapter\Pdo\Mysql) in service
$db = new DbAdapter(array("host" => $a['host'], "port" => $a['port'], "username" => $a['username'], "password" => $a['password'], "dbname" => $a['dbname'],
$di[xxx] = $db
So, How about performance in this case ? Do you have any idea for me? Please help... Thank you