jonhoo / volley

Volley is a benchmarking tool for measuring the performance of server networking stacks.
MIT License
123 stars 12 forks source link

Implement Rust server using mio #13

Open jonhoo opened 9 years ago

jonhoo commented 9 years ago

As discussed in #5, the idiomatic way to do polling I/O in rust is probably to use mio. It would be an interesting data point to include.

jonhoo commented 9 years ago

22 implements a half-way point between the one-thread-per-client approach and fully non-blocking operation like mio would provide. It multiplexes multiple clients on a single thread, but runs each client there in serial order. The performance speed-up is quite substantial.