[collectd] Perl interface (was: (Generic) Java plugin available for development/testing.)
Sebastian Harl
sh at tokkee.org
Fri Feb 20 16:03:40 CET 2009
Hi again ;-)
On Fri, Feb 20, 2009 at 03:40:11PM +0100, Florian Forster wrote:
> On Fri, Feb 20, 2009 at 10:12:17AM +0100, Sebastian Harl wrote:
[python]
> > to serialize basically anything but IO, so we might run into quite a
> > few problems in regard to deadlock prevention.
>
> I've run into problems with this, too:
[...]
> => BOOM!
Uh! That's even worse than running into deadlocks imho ... :-/
> This this I've implemented `plugin_dispatch_async' in ba6497bd. It
> dispatches the values to a special `dispatch thread' in src/plugin.c, so
> that this `read -> dispatch -> write' loop back into the same plugin can
> be avoided. Maybe this is of use for the Perl plugin, too..?
I haven't really had any problems in that respect so far (besides that
one deadlock a while ago, which has been solved though). Would you
expect any other benefits from implementing that?
Cheers,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090220/695233f9/attachment.pgp
More information about the collectd
mailing list