Skip to content

Per-request clients vs single client for fastapi server #1105

Answered by thehesiod
lucabergamini asked this question in Q&A
Discussion options

You must be logged in to vote

you want to keep as few clients as possible for as long as possible. each client has its own connection pool. also look into aioboto3 for a smoother transition

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lucabergamini
Comment options

@thehesiod
Comment options

@lucabergamini
Comment options

Answer selected by thehesiod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants