Those are some nice numbers, to be sure! Twisted really benefits from running
in a pypy vm. I have read that pypy still doesn’t optimize old-style classes
as efficiently as new-style classes; I wonder if there would be any meaningful
change in the metrics if resource.Resource was a new-style class instead of an
old-style class.
Yep, using new style classes is indeed recommended for performance on
PyPy. We are using new style classes throughout Autobahn and
Crossbar.io, but I haven't measured effects.
Am I correct in stating that SO_REUSEPORT only produces the desired balancing
of requests between twisted processes on Linux?
You need Linux kernel 3.9+. DragonFly BSD also claims support, but I
haven't tried. We should also be able to make Windows work, after some
more things have landed for the Twisted IOCP reactor.
Cheers,
/Tobias
Thanks,
L. Daniel Burr
Cheers,
/Tobias
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python