From: Graham Dumpleton <grahamd@ds...> - 2008-04-15 07:55:22
Phoenix Sol wrote ..
> I am interested in using OSE's netsvc module for async socket operations
> Stackless Python. There's a already a socket proxy module that accomplishes
> this with asyncore, which works fine for a lot of uses, but seeking higher
> performance, I wrote a similar module with pyevent. Unfortunately, it's
> performance is not significantly better, and since pyevent is unmaintained
> and lacks support for the more recent libevent releases, I'm "looking
> Do you think that netsvc would be appropriate for high(er) performance
> networking in Stackless Python?
Hmmm, not really knowing anything about Stackless Python, but seeing that it
uses modified Python source code, am not sure even sure whether the OSE
Python wrappers would build against it. I guess it depends on how significantly
they have changed the Python C API functions for existing Python threads.
Even if it did compile, not sure whether you would benefit anything from it as
the Python C extension module for OSE works with the conventional Python
threads and wouldn't know about any Stackless specific features or concepts.
In short, I don't know.
> Can you tell me what kind of polling it uses? Does it use epoll on linux?
It use poll() or select() depending on what is available and in some cases preferred.
> If you have time to answer, I'd really appreciate it. Any input you can
> offer about this topic in general would be awesome.
> (In case you are interested in what this is all about, I'm building a
> "Massively Multiuser, Distributed RIA Backend" with Stackless on the Amazon
What do you mean by 'Distributed RIA Backend'?
Do mean RIA in the sense described in:
or something else.
> I haven't subscribed to the list, so please be sure my address is included
> in any replies.
> Thanks a heap,
> Phoenix Sol
> 130 'A' Street,
> Suite 6
> Ashland, Oregon