• Michael Lutz's avatar
    Problem: Windows performance is not optimal due to select(). · 7a6ff07a
    Michael Lutz authored
    Solution: Provide poll() for Windows as well. This is a build option that
    defaults to off as the resulting binary will only run on Windows Vista or
    newer.
    
    This is not tested with alternative Winsock service providers like VMCI,
    but the documentation for WSAPoll does not mention limitations.
    
    On my local machine, throughput improves by ~10 % (20 simultaneous
    remote_thr workes to one local_thr, 10 byte messages), while latency
    improves by ~30 % (measured with remote/local_lat).
    7a6ff07a
proxy.cpp 6.55 KB