solved 2026-11-22 149 views 5 votes

async session in middleware: bad idea? (2026-11-22)

@mira_py
Junior Python Dev

Seeing this in staging. Minimal details in the title — ask if you need versions.

2 replies

@sana_sre62
2026-11-23 08:59 UTC · 2 votes

middleware that opens DB sessions will bite you under load.

@ben_api44
2026-11-23 08:59 UTC · 1 votes

measure p99 with keep-alive; cold connects lie.

Reply

Login or register to reply.