[ 
https://issues.apache.org/jira/browse/HTRACE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531456#comment-14531456
 ] 

Masatake Iwasaki commented on HTRACE-164:
-----------------------------------------

bq. Add the CMP library for serializing spans to msgpack in the C client, in 
util/cmp.c and util/cmp.h. Serialize spans and the WriteSpans message frame 
using this rather than JSON.

There seems to be official C binding: https://github.com/msgpack/msgpack-c
Any reason to prefer CMP to msgpack-c?

> htrace hrpc: use msgpack for serialization
> ------------------------------------------
>
>                 Key: HTRACE-164
>                 URL: https://issues.apache.org/jira/browse/HTRACE-164
>             Project: HTrace
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-164.002.patch
>
>
> htrace HRPC should use msgpack for serialization.  Messages serialized using 
> msgpack use less space on the wire and use less CPU time to encode.  The CMP 
> library allows us to include msgpack support easily in the htrace C client.  
> There is also good Java and Golang support available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to