|
|
|
|
|
by Const-me
3103 days ago
|
|
> The tokio-core crate provides the central event loop Does it mean it only uses a single thread for IO notifications? If yes, the performance won’t be exceptionally great, especially on servers with many CPU cores and fast network interfaces. The underlying OS APIs (both epoll, kqueue and iocp) do support multithreaded asynchronous IO, so that’s not some platform limitation. |
|
Generally speaking, how to optimize concurrency for a network based application is pretty use case specific.
tl;dr, you can fully take advantage of many core systems w/ Tokio.