Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace System.Threading.Task.Dataflow with System.Threading.Channels #5

Closed
TechInterMezzo opened this issue Nov 24, 2019 · 1 comment
Milestone

Comments

@TechInterMezzo
Copy link

This is more lika a suggestion.
Maybe this library could benefit from channels.

Here is a blog post I find quite easy to understand: https://ndportmann.com/system-threading-channels/

Channels seem to be a more recent development than the dataflow library. They have a clean API and seem to focus on solving the problem of fast and thread safe queues.

@adams85
Copy link
Owner

adams85 commented Nov 27, 2019

Thanks for the tip! Dataflow may be a bit heavy-weight for the use case of this lib indeed. Furthermore, chances are that overall performance would benefit from Channels as well. It's definitely worth giving it a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants