[ZWeb] DISCUSS: Wiki subscription slowness

alan runyan alan runyan" <runyaga@runyaga.com
Fri, 5 Apr 2002 10:36:42 -0600


Yes.  I ran into this when I was doing some workflow stuff (where it sent
notifications off) in the CMF.
I haven't got around to optimizing it but *what I am thinking* of as a quite
asycn. workaround is to use
kapil's Events Product.  then some cron job could scoop up all the emails
and do what is necessary.

in Java land we would solve this by putting the mail notification on a JMS
queue.  events is the closest thing
we have.  there should be a MessagingQueue for Python.  but I think Events
could be the path of least resistence (?)
or injecting it straight into the queue?


----- Original Message -----
From: "Paul Everitt" <paul@zope.com>
To: "Lennart Regebro" <lennart@torped.se>
Cc: <zope-web@zope.org>
Sent: Friday, April 05, 2002 10:07 AM
Subject: Re: [ZWeb] DISCUSS: Wiki subscription slowness


>
> Your (4) is essentially my (1).  Unfortunately it isn't as if we'll have
> this in the next hour.  Until then?
>
> --Paul
>
> Lennart Regebro wrote:
> > From: "Paul Everitt" <paul@zope.com>
> >
> >>1) Turn off notification until it can be reimplemented.
> >>
> >>2) Stop authoring in Wikis.
> >>
> >>3) Move the Wiki authoring for new.zope.org requirements (nzo) over to
> >>new.zope.org.
> >
> >
> > 4) Utilizing a proper mail handler queuing. I haven't done any
performance
> > tests on this, but putting a mail through sendmail/qmail-inject/whatever
is
> > probably much faster than doing an SMTP connection, right? That would
make
> > the sending much faster.
> >
> > I can make a MailHost that instead of an smtp host has the name of a
queue
> > injection program (by default sendmail). This would mean, however, that
you
> > must have a mailserver like sendmail or qmail installed on your
webserver. I
> > don't know how this would work with ZEO either, I guess each server
needs
> > the mail server installed?
> >
> >
> >
> >
> >
> > _______________________________________________
> > Zope-web maillist  -  Zope-web@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-web
>
>
>
>
>
> _______________________________________________
> Zope-web maillist  -  Zope-web@zope.org
> http://lists.zope.org/mailman/listinfo/zope-web
>