Skip to content

Running on serverless Docker (Azure Container Apps, Google Cloud Run) #6063

Answered by Noah-Kennedy
Zizico2 asked this question in Q&A
Discussion options

You must be logged in to vote

Great question!

There isn't a hard and fast rule here. It's going to depend on what you're doing, what your traffic looks like, and what the environment you are running on is like.

I'd say that, in general, multi-thread is probably going to be optimal, but that you should definitely experiment on production traffic with different settings to see what gives you better results. In particular, you're going to want to tune to see how many threads is ideal if you are using multi-thread.

I will caution strongly against the use of synthetic benchmarks here. They are almost never applicable when trying to tune performance like this.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Noah-Kennedy
Comment options

@Zizico2
Comment options

@Noah-Kennedy
Comment options

@Zizico2
Comment options

@Noah-Kennedy
Comment options

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