Skip to content

Performance concerns with cloning an AppState with a DB Pool #2254

Answered by davidpdrsn
matx64 asked this question in Q&A
Discussion options

You must be logged in to vote

You probably don’t need to worry. Cloning a connection pool is usually just bumping a reference count.

But I’d recommend you benchmark things if you wanna know more of what the impact is.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matx64
Comment options

Answer selected by matx64
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