[Twisted-Python] sharing a dict between child processes

Scott, Barry barry.scott at forcepoint.com
Thu Nov 7 03:07:41 MST 2019


On Thursday, 7 November 2019 05:29:34 GMT Sean DiZazzo wrote:
> If you need guaranteed delivery of the data, why not just use a TCP
> connection to the unix socket, instead of a UDP connection which inherently
> can lose data?  In that case I don't think your patch would be needed.
> 
> I didn't look at the source, so perhaps I missed something.

UDS is not UDP. 

> > We use the UDS (Unix domain sockets) to talk to a master process.
> > Twisted has support for this. But you need a small patch to avoid data
> > lose.
> > 
> > UDS does not lose data and is message based, not bytes based. We
> > use pickle to encode requests and responses.

Barry






More information about the Twisted-Python mailing list