Skip to content

About resources consumption :) #133

Answered by ioquatix
thibpoullain asked this question in Q&A
Discussion options

You must be logged in to vote

This is a great question and the solution is as you can imagine highly context specific.

My general approach to this problem is to build naturally scalable systems, and the most important technical concept is "back pressure". If you schedule jobs in a single event loop, then event loop will eventually become saturated. As the event loop becomes saturated, it naturally slows down. This is one way to achieve back-pressure with an event loop. However, that does not mean you can't implement pathological cases, e.g. "fork bombs" and other such cases.

In any system like this, external resources may not provide sufficient back pressure. Especially as Async is designed to scale up without limitat…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@thibpoullain
Comment options

@ioquatix
Comment options

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