[Twisted-Python] Getting a list of services and/or plugins are currently running
itamar at itamarst.org
Mon Oct 18 19:56:53 EDT 2010
On Mon, 2010-10-18 at 22:28 +0200, Johann Borck wrote:
> If I wanted to implement this, I'd start with a central service, that
> offers an interface for (twisted) apps/clients/servers to register
> themselves on startup. All "participating" plugins and services would
> of course have to know about that service, but depending on your
> requirements it might suffice to use a common subclass of
> twisted.application.service.Service, that takes care of performing the
> necessary steps to inform your central state-monitoring service about
> their existence and state.
Something based on zeroconf mDNS (aka Rendevezous on Macs) would do this
for you... and most modern linux versions include an implementation.
More information about the Twisted-Python