[Twisted-Python] PB and unstable network

Jarosław Fedewicz jaroslaw.fedewicz at gmail.com
Mon May 31 09:48:46 EDT 2010


On 27 трав. 2010, at 12:45, Viktor Klimov wrote:

> You mean a packet message used in the TCP? Or offer to implement ACK to PB?
> 

The latter one. An application-level ack. You only accept a transaction when you have „acked” to your peer that you have the full data payload, and after it acks your ack so that you know your peer won't re-send the same thing over again.

Sounds complicated, but at least your peers can both be aware of each others' intentions.

> Maybe someone will point to the literature on network programming in
> unstable networks?

I don't see much difference between the two, except that on an unstable link, you keep trying harder.


More information about the Twisted-Python mailing list