Here is the link:
https://docs.google.com/document/d/1WceTDcmi6gtqQSocrsVse_lBr1uohhi5TdAQcRW07Bg/edit?usp=sharing
2016-03-18 21:29 GMT-07:00 Charles Cui <charles.cui1984@xxxxxxxxx>:
> Hi Guys,
>
> Just let you know I have uploaded my proposal and shared with the community.
> Please feel free to comment.
>
>
> Thanks, Charles.
>
> 2016-03-14 15:36 GMT-07:00 Charles Cui <charles.cui1984@xxxxxxxxx>:
>> Got the idea, Thanks.
>>
>> 2016-03-13 12:42 GMT-07:00 Ken McDonell <kenj@xxxxxxxxxxxxxxxx>:
>>> On 13/03/16 15:17, Charles Cui wrote:
>>>>
>>>> Hi Lukas,
>>>>
>>>> Some updates for this project.
>>>> I tried to install and use simple and trivial pmda, and they can
>>>> report me the expected metrics.
>>>> Now, I am thinking of steps of writing the pmds using golang.
>>>> Some thoughts are given below, correct me if I am wrong.
>>>> Basically, there are 2 ways to go.
>>>> 1> I need to at first to create a wrapper of lib pcp_pmda using golang,
>>>> where
>>>> provides similar name to functions in lib pcp_pmda but implemented
>>>> using golang.
>>>> For each function in the wrapper, it calls the lib pcp_pmda to
>>>> complete the function.
>>>> Then, create an agent (with golang) to talk with my wrapper.
>>>> or
>>>> 2> rewrite lib pcp_pmda using golang
>>>>
>>>> which way is preferred by the community?
>>>
>>>
>>> G'day Charles.
>>>
>>> Wrappers are definitely the way for any language other than C. There are
>>> existing examples for Perl and Python in the code base.
>>>
>>> You can use dbpmda(1) to debug this in a way that allows you to build up the
>>> wrapper layer in incremental stages, rather than requiring a complete
>>> implementation before debugging with the PMDA being called from pmcd.
>>>
>>> _______________________________________________
>>> pcp mailing list
>>> pcp@xxxxxxxxxxx
>>> http://oss.sgi.com/mailman/listinfo/pcp
|