You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Akka.NET allows us to use custom dispatchers in order to manage OS resources, we may create a custom Dispatcher using Hopac instead of Tasks or Threads. Since Hopac jobs are highly optimized (they could be significantly faster than TPL, see link), there is possibility to have some performance gain from this change. Hopac also introduces many other primitives (channels, actors etc.) which may be usefull in other parts of the Akka.NET framework... and supports Mono better than current TPL implementation.
This is more measure and research type of task. I hope to use Hopac dispatcher to have higher performance than with TPL, but to be sure, one need to create that library and create some metrics to compare.
Prerequisites
Knowledge of Hopac API.
Knowledge of Akka dispatchers and resource management.
What's the state of this? I've been using Hopac for a long time and recently started learning Akka.Net. I see the use of .Net Tasks and Async a bit disappointing.
Copy of akkadotnet/akka.net#543
Since Akka.NET allows us to use custom dispatchers in order to manage OS resources, we may create a custom Dispatcher using Hopac instead of Tasks or Threads. Since Hopac jobs are highly optimized (they could be significantly faster than TPL, see link), there is possibility to have some performance gain from this change. Hopac also introduces many other primitives (channels, actors etc.) which may be usefull in other parts of the Akka.NET framework... and supports Mono better than current TPL implementation.
This is more measure and research type of task. I hope to use Hopac dispatcher to have higher performance than with TPL, but to be sure, one need to create that library and create some metrics to compare.
Prerequisites
Links
The text was updated successfully, but these errors were encountered: