[Twisted-Python] How could I add reliability to a udp client

Jean-Paul Calderone exarkun at divmod.com
Wed Nov 2 23:16:41 EST 2005

On Thu, 03 Nov 2005 09:03:48 +0800, Eddy Xu <eddyxu at 126.com> wrote:
>The client just send short command messages. Do it need to connect with
>the server? perhaps the UDP way is lighter?

In other words, no? :)  UDP is hard.  *Sometimes* it is a valuable optimization.  Treat it as such: do not use it unless it is easier than another solution, and do not consider switching to it until you have demonstrated a bottleneck which it may eliminate or alleviate.


More information about the Twisted-Python mailing list