I have a server that will be communicating with a modest number of clients, probably <10. I've been experimenting with various ways of doing that, including Unix select and async reads with tokio. Is there a reason I should choose one over the other?
Async will be using
select or similar anyway, so I guess it's a balance of abstraction vs. control.
It probably doesn't matter with 10 clients. Use what you find more readable.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.