Skip to content

Can actix_web client run in multiple threads? #1747

Answered by robjtede
flyinmind asked this question in Q&A
Discussion options

You must be logged in to vote

There are some simple rules with the client:

  • do not build a new client for each request
  • use app data to store one client per worker for minimum contention

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by robjtede
Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1747 on November 04, 2020 13:31.