Tobias and Itamar -
Thanks for sharing the conversation and statistics. Very interesting!
-Tom
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
x.com
[mailto:twisted-python-boun...@twistedmatrix.com] Im Auftrag von Tobias
Oberstein
Gesendet: Mittwoch, 23. Oktober 2013 00:58
An: Twisted discussion
Betreff: Re: [Twisted-Python] Flow-control for Pipes / Unix Domains Sockets?
Hi Itamar,
once again Twisted surprises me: it just works!
I have tested a
Hi Itamar,
once again Twisted surprises me: it just works!
I have tested a master/child combo over pipe (both Twisted) with a push
producer on the sending leg.
It can push around 70MB/s raw binary (16k write size) to the child. Load is
evenly on 2 CPU cores each at 80% and stays roughly consta
On 10/21/2013 04:48 PM, Tobias Oberstein wrote:
Flow-control for Pipes / Unix Domains Sockets? Hi,
with TCP (either remote or loopback) I can have flow-control using the
producer-consumer machinery that Twisted provides.
Is that (flow-control / producer-consumer) also available (and
practica
fwiw, I have been trying to get find a conclusive answer to the subquestion:
Do Unix domain sockets (either stream or dgram) support flow-control?
The nearest I could find is
http://stackoverflow.com/questions/1478975/unix-domain-socket-is-there-such-a-thing-as-a-busy-signal/1479022
but the comme
Hi,
I don't know the answer to your question...
I've been thinking about flow control lately.
I recently wrote a little working prototype VPN in Twisted using
IPushProducer and IConsumer interfaces
but I have not yet implemented flow control :
Here we can see how I proxy between TUN and UDP usin
Hi,
with TCP (either remote or loopback) I can have flow-control using the
producer-consumer machinery that Twisted provides.
Is that (flow-control / producer-consumer) also available (and practically
usable/recommended) with:
a) Unix Domain sockets
b) Pipes (spawnProcess)
?
Thanks!
/Tobias
ahh, I felt I missed sth;) thx .. I'll look into that
On 11.08.11 23:16, "Christopher Armstrong" wrote:
On Thu, Aug 11, 2011 at 5:13 PM, Tobias Oberstein
wrote:
For a test driver for a TCP-based protocol (written in Twisted) I want to send
data to a
receiver as fast as the receiver can consu
> However, isn't there a simpler way (without application level flow
> control)?
>
> In the end, the sender TCP stack must have knowledge of it's window size
> ..
> is there a way to get at that info?
>
> What is the recommended way?
Transports provide the IConsumer interface, to which you can hoo
On Thu, Aug 11, 2011 at 5:13 PM, Tobias Oberstein <
tobias.oberst...@tavendo.de> wrote:
> For a test driver for a TCP-based protocol (written in Twisted) I want to
> send data to a
> receiver as fast as the receiver can consume data, but not faster.
>
> Apparently, a naive loop which just does tr
For a test driver for a TCP-based protocol (written in Twisted) I want to send
data to a
receiver as fast as the receiver can consume data, but not faster.
Apparently, a naive loop which just does transport.write() does not work. When
I do
reactor.select(0) between the writes, it somehow works,
11 matches
Mail list logo