Skip to content

Async API #2595

Answered by sbwalker
Behnam-Emamian asked this question in Ideas
Feb 13, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is one of those topics where there are a lot of opinions. My personal understanding is that async is not about performance, it is about scalability (which is a completely different concern). Basically an asynchronous approach is all about managing the number of workload threads, which in theory can allow it to achieve greater scalability. However, the tradeoff for using async is greater overhead which actually reduces the performance of the application for smaller workloads. There are plenty of load tests online which demonstrate how API performance is worse when using asynchronous - however at the point of thread saturation the synchronous approach will choke whereas the asynchronou…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Behnam-Emamian
Comment options

@sbwalker
Comment options

Answer selected by Behnam-Emamian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants