You should update your twisted install; it'll pick a better default then
"select" on most platforms.
For installing other reactors, see individual reactor's documentation, e.g:
https://twistedmatrix.com/documents/current/api/twisted.internet.cfreactor.html
(because individual reactors may requir
What is your question?
On Wed, Dec 12, 2012 at 2:52 PM, Anil KARADAG wrote:
> Hi all,
>
> ** **
>
> ** **
>
> I have a question about reactor of “twisted.internet” module. I found
> below;
>
> ** **
>
> ** **
>
> The default reactor is “select”;
>
> ** **
>
> [root@karadag internet]
On 12/12/2012 09:52 AM, Anil KARADAG wrote:
>
> Hi all,
>
> I have a question about reactor of “twisted.internet” module. I found
> below;
>
> The default reactor is “select”;
>
>
In newer versions of Twisted the default is not select, it may be poll
or epoll depending on platform.
You are proba
Hi all,
I have a question about reactor of "twisted.internet" module. I found
below;
The default reactor is "select";
[root@karadag internet]# pwd
/usr/lib/python2.6/site-packages/Twisted-10.0.0-py2.6-linux-x86_64.egg/t
wisted/internet
[root@karadag internet]# cat reactor.py
#
On Wed, Dec 12, 2012 at 8:22 AM, Michael Schlenker wrote:
> Hi,
>
> i use twisted for some volume streaming over fat pipes (10 GE) and need
> to tweak the rcv and send buffer sizes when streaming via
> socket.setsockopt(). Otherwise Twisted spends lots of time calling the
> producer with tiny blo
Hi,
answering my own post at least a bit...
It seems the issue is that TLSMemoryBIOProtocol shadows the getHandle()
method from the original TCPTransport, if i rename it to getHandle2() in
TLSMemoryBIOProtocol all works fine (but obviously other stuff will break).
Looks like Ticket #5182 is only
Hi,
i use twisted for some volume streaming over fat pipes (10 GE) and need
to tweak the rcv and send buffer sizes when streaming via
socket.setsockopt(). Otherwise Twisted spends lots of time calling the
producer with tiny blocksizes and writing those tiny buffers to the tiny
OS buffer. Speedup f