[Zope3-dev] Re: Twisted Publisher and Zope 2

Christian Theune ct at gocept.com
Thu Dec 8 13:31:56 EST 2005


Hi,

Am Donnerstag, den 08.12.2005, 11:47 -0500 schrieb Tres Seaver:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Stephan Richter wrote:
> > On Thursday 08 December 2005 08:29, Sidnei da Silva wrote:
> > 
> >>On Thu, Dec 08, 2005 at 08:18:49AM -0500, Stephan Richter wrote:
> >>| On Thursday 08 December 2005 07:06, Sidnei da Silva wrote:
> >>| > Just one thing that struck me right now. ZServer uses medusa/asyncore
> >>| > and twisted has it's own 'main loop'. How do they play together in
> >>| > Zope 3? Or they dont?
> >>|
> >>| They don't. Either you use ZServer or you use Twisted, but not both. So
> >>| if you want to use Twisted-specific packages, like the scheduler, you
> >>| have to use twisted, otherwise you are out of luck. I think this is
> >>| totally fine.
> >>
> >>What's the situation with ZEO then? The ZEO 'zrpc.client' uses
> >>ThreadedAsync.register_loop_callback(), which is a evil monkeypatch to
> >>asyncore. I haven't seen that change recently, so I assume this has
> >>been ignored?
> > 
> > 
> > Yep. Nobody has complained to us about this yet. I personally do not use ZEO, 
> so I could not fix the issue anyways.
> 
> If twisted and ZEO are incompatible, then twisted needs *never* to be
> the default;  ZEO is an essential part of Zope's "real world" story.  I
> can't imagine even  *developing* without ZEO, much less deploying
> applications in production.

I'm also rather surprise about those MANY incompatibilities that haven't
been discussed and shall silently be accepted. Right now I am aware of
three problems:

- WSGI disallows response streams
- Twisted handles chunked requests differently (zsync checkin breaks)
- ZEO is broken or at least suboptimal

This makes me pretty nervous about our development process / decision
making.

Cheers,
Christian

-- 
gocept gmbh & co. kg - schalaunische str. 6 - 06366 koethen - germany
www.gocept.com - ct at gocept.com - phone +49 3496 30 99 112 -
fax +49 3496 30 99 118 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20051208/97988145/attachment.bin


More information about the Zope3-dev mailing list