Treeform, that is great!
An alternative is to have a pooled driver that is friendly to async. My MongoDb
driver does this: `mongopool` (on nimble).
Essentially, the connections to the database are pooled and used dynamically by
the server threads. So no slow down at scale.
With postgresql and mysql this is not as
Also don't forget mine!
[https://github.com/treeform/pg](https://github.com/treeform/pg)
I find this repos for mysql and postgresql:
[https://github.com/wiml/nim-asyncmysql](https://github.com/wiml/nim-asyncmysql)
[https://github.com/cheatfate/asyncpg](https://github.com/cheatfate/asyncpg)
Nope, you're correct. Someone needs to create an async mysql/sqlite/postgres
etc. driver.
Coming from other runtime environments with async support such as Python, one
thing I have seen is that in order to take full advantage of async web servers,
you need async database support. It doesn't seem in nim that the DB clients
support async connections, which would lead me to believe