On Wed, Nov 11, 2015 at 9:55 PM, Tobias Oberstein < tobias.oberst...@tavendo.de> wrote:
> 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 >>> >>> Hi Tobias Have you tried to test crossbar on windows? I heard that stdio performs very bad on windows. I noticed crossbar use pipe to transfer data between process. Regards gelin yan
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python