[Server-devel] Yummy incron

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Tue Jun 24 21:14:44 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Langhoff wrote:
| Looking for a (memory, cpu, power) efficient way to trigger
| events/scripts on the XS, I came across incrond. It weights ~600KB
| according to ps_mem.py, and it looks like the kind of tool we want to
| be using. There are a few processes I have on the XS that signal
| completion by touching a file in a tmpdir, so that a different process
| (with different privileges) can perform other steps. Using incron
| rather than poll frequently from an in-memory process or crond seems
| much smarter.
|
| <rant>
| Yes, this a bit like DBus

What it sounds even more like, to me, is any modern init system.  For example:

Upstart (http://upstart.ubuntu.com/)
OpenRC (http://roy.marples.name/openrc)
InitNG (http://www.initng.org/)
etc.

This new generation of init are designed to provide proper inter-service
dependency management and post-startup event response.  It appears that
both Fedora and Ubuntu are using Upstart.

Given your opposition to DBUS in this context, you might enjoy

http://upstart.ubuntu.com/faq.html#replace-dbus

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhhnAQACgkQUJT6e6HFtqRJRgCfY/+oj/iKJ076oyeT41HlA9QE
NegAnjQqaHTYBHCSu4F5+nWJuG6ck2sv
=XMIJ
-----END PGP SIGNATURE-----



More information about the Devel mailing list