O'Reilly logo
  • Ivan Zderadicka thinks this is interesting:

Let us go ahead and write a server that largely does the same thing, the difference being that this one uses multi-threading heavily and uses all CPU cores. Cargo setup should be as follows:

From

Cover of Network Programming with Rust

Note

Due to tokio-threadpool executor this approach is mostly outdated. By default now server will use threadpool.