[Zope-dev] Xron fragility

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 13 Oct 2000 09:13:08 +0100


>Yes, using Client.py was the easiest way to do that. The biggest problem
>with Client.py is its dependency on HTTP. If your server is set up to
>only accept HTTPS, then you can't use Xron -- not a desirable trade-off.

If security is the problem, you could configure the HTTP part to
listen only on a loopback interface. (yes, this is supported on NT and
windows 95 too)

>We need another mechanism that achieves the same goal -- simulating the
>environment of a request -- without going all the way back to the
>socket.

I always thought the use of Client was very elegent. The performance
hit is negligible, and all the plausible alternatives need many more
lines of code.

Another advantage is that it promotes testability of the scheduled
events since it is easy (trivial) to reproduce the environment in
which they run when scheduled.

Toby Dickenson
tdickenson@geminidataloggers.com