AgoraDatabaseManager should not open a brand new connection for each command. A new connection for each thread (responding to a web request) would be reasonable. Alternatively, we could use a single connection (or a small finite fixed number of them) and use an async task queue.
AgoraDatabaseManager should not open a brand new connection for each command. A new connection for each thread (responding to a web request) would be reasonable. Alternatively, we could use a single connection (or a small finite fixed number of them) and use an async task queue.