Skip to content

C# std/core performant component to replace await Task.WhenAny(..) operation when number of task being waiting upon is significant (hundreds - thousands)

License

Notifications You must be signed in to change notification settings

BenKalegin/optimized-task-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optmized-task-queue

C# std/core component to replace await Task.WhenAny(..) operation when number of task being waiting upon is significant (hundreds - thousands).

It could help to save number of compute instance or containers for applications like web crowlers, webhook fan-outs, decoupled microservices, or distributed workload.

Problem with await Task.WhenAny(..) is that its performance (coupled with succeding remove of task from array) is N(O^2).

About

C# std/core performant component to replace await Task.WhenAny(..) operation when number of task being waiting upon is significant (hundreds - thousands)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages