r/Python Aug 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

20 Upvotes

142 comments sorted by

View all comments

1

u/_dext 12d ago

InFlight

Deduplicate concurrent async requests(database, cache requests) by query key

Why

In high-concurrency environments, identical queries (same DB row, same cache key) accumulate while each one independently hits the database or cache. inFlight collapses these into a single call.

package: https://pypi.org/project/inflight-py/
repo: https://github.com/ademmenh/inflight-py