I wonder if f3 has the concept of DB connection pool. When I check the sample code of CMS, it seems the DB connection is created in the controller's construct.
function __construct() {
$f3=Base::instance();
// Connect to the database
$db=new DB\SQL($f3->get('db'));
So each time there is a request to any controller, there is a new DB connection created. If the server is under huge load, this may cause DB to be saturated.
Does f3 (or any plug-in) supports DB connection pool so that we can limit the # of DB connections? Requests are put into a queue when the number of DB connection exceeds the pool size.