Re: anything new?
Jason Madden <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
> On Apr 5, 2016, at 15:34, Bill Janssen <[email protected]> wrote: > > So perhaps I should fork the code and replace the asyncore code with a Tornado-based ZEO server. That way it would run on either 2 or 3, and Ben Darnell could worry about the async parts. > > Bill > > On Tuesday, April 5, 2016 at 1:31:48 PM UTC-7, Bill Janssen wrote: > OK, good to know. Shame that's Python 3 only; I can't use that. > > Bill We're also still requiring Python 2 support. I have a proof-of-concept fork at https://github.com/NextThought/ZEO/tree/gevent that replaces asyncore with gevent (which runs on 2 and 3), but I ran into two problems: - I was trying to keep the overall design the same, and that turned out not to be a very suitable use of greenlets and gevent; in fact, it performed *faster* by simply having gevent monkey-patch select and threads in place than the native port I was working on. Some broader refactoring would be needed to best take advantage of gevent and greenlets and I didn't have the time then to look into it. - gevent isn't really production strength on Windows in my opinion, given the limits of libev and Windows select code, so that would be a step backwards. However, the gevent devs (me :) are looking into a port to libuv, which is production ready on Windows which would solve that particular problem. Jason -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.