pcp
[Top] [All Lists]

Re: [pcp] pcp updates

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: [pcp] pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Thu, 12 Mar 2009 16:29:49 +1100 (EST)
Cc: pcp@xxxxxxxxxxx, Martin Hicks <mort@xxxxxxx>
In-reply-to: <117523664.243881236835667247.JavaMail.root@xxxxxxxxxxxxxxxxxx>
----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
> ...
> PM_CONTEXT_LOCAL avoided a couple of context switches and some pipe
> traffic in the steady state and that was why it was invented ... it is
> a little surprising to see this ugly hack still being used 15 years on!

*shrug* ... although the interface is somewhat lacking (should be able
to ask for specific PMDAs...) it still has uses IMO - other than those
for which it was originally designed (still, more people issues than
technical - like not needing a daemon, not needing anything running as
root to use it, not needing networking to be up, no *gasp* open ports,
etc, etc).

> I wonder if anyone other than the p76 pmda ... which is no longer
> required ... 8^(> ... is using the other pcp dinosaur in PDU_ASCII?

I'm hoping not.  The ASCII protocol is on my hitlist, I think we should
aim to remove it in PCP 3.0 timeframe.  The Perl PMDA interface is alot
simpler, and achieves effectively the same thing (in 1/4 the code - see
src/pmdas/news/{pmdanews.pl,news.agent} for example) from a rapid-PMDA-
development-and-deployment POV.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [pcp] pcp updates, Nathan Scott <=