Le 24/02/2019 à 19:46, Wes McKinney a écrit : > OK, I don't know enough about sockets or networking to know what > hypothetical performance is possible with 16 concurrent packet streams > going through a single port (was the 5GB/s based on a single-threaded > or multithreaded benchmark? i.e. did it simulate the the equivalent > number / size / concurrency of packets that the Flight benchmark is > doing).
The 5 GB/s uses just two threads: one server thread, one client thread. The code is almost trivial, it's just careful to avoid spurious copies: https://gist.github.com/pitrou/86fd433a8f71b0052e29fddcf4d766be Regards Antoine.