I have written a program that communicates with many servers at once using the asyncore module. For the most part I am just responding to data received from the servers, but occasionally I need to send some data "out-of-sync". With the default timeout of 30 seconds there is an obvious delay before the packet gets sent, so I have lowered the timeout to 0.1 for more responsiveness.
My question is: is it a good idea performance-wise to use a timeout with such a low value, and if not, is there another more performant way of accomplishing the same thing? What's the best practice for doing this?