| If you're talking to a 100KB SQLite database file this kind of thing is likely unnecessary, just opening and closing a connection for each query is probably fine. If you're querying a multi-GB SQLite database there are things like per-connection caches that may benefit from a connection pool. > What is an asyncio SQLite connection anyways? Isn’t it just a regular one that gets hucked into a separate thread? Basically yes - aiosqlite works by opening each connection in a dedicated thread and then sending async queries to it and waiting for a response that gets sent to a Future. https://github.com/omnilib/aiosqlite/blob/895fd9183b43cecce8... |