-----BEGIN PGP SIGNED MESSAGE-----
Paul Gevers wrote:
> I maintain several websites where we rely heavily on file-system files
> to serve images and movies. We have a user interface in Zope to manage
> the files, based on the "external file" product. Users can upload files
> via webdav to the filesystem and I am synchronizing Zope by using
> inotify (Linux OS kernel tool that triggers on changes on the file
> system). At the moment I use a http request to the localhost to tell
> Zope that the filesystem has changed, but when a lot of files are
> created in a short time the updating is too slow.
> Is there a faster way to talk to the zope database than via a http
> request while zope is running? I tried to find something useful on the
> net, but was buried in too many pages which are not really relevant.
If you use ZEO, then you can run a script which connects to the ZEO
server while Zope itself continues running. If you write the script in
terms of running under 'zopectl run', then you can get to the "root"
object in the ZODB as 'app'.
Tres Seaver +1 540-429-0999 [EMAIL PROTECTED]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -