1 repository
Connection pooling mechanisms that use task-local storage to maintain connection affinity within an async execution chain.
Distinct from Connection Pools: Specializes general connection pooling by adding task-local state for asynchronous context management.
Explore 1 awesome GitHub repository matching data & databases · Task-Local. Refine with filters or upvote what's useful.
This project is an asyncio database abstraction layer that provides a common interface for performing non-blocking database operations in Python. It functions as an asynchronous database driver wrapper and a SQL expression builder, allowing for the construction of raw SQL strings from structured Python objects. The library includes an asyncio connection pool manager that utilizes task-local storage to handle connection lifecycles and reduce resource overhead. It also serves as an async database transaction manager, wrapping operations in atomic transactions and savepoints to maintain data int
Utilizes task-local storage in its connection pool manager to ensure connection reuse throughout specific asynchronous chains.