What new feature or improvement would you like to see?
In various places of our codebase, we have N+1 patterns when querying DB.
N+1 query pattern means that we have N tasks, and we make 1 DB query per task, resulting in N roundtrips, N transactions, N DB read/writes.
For better throughput and atomicity, we should strive for transactions.
This applies to both Python and Golang
Why is this needed?
Improve throughput and consistency.
Avoiding DOS during heavy load.
Code of Conduct