[
https://issues.apache.org/jira/browse/HTRACE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526034#comment-14526034
]
Colin Patrick McCabe commented on HTRACE-164:
---------------------------------------------
Hi Elliott,
This is just an internal implementation detail of the htraced daemon. If you
don't like msgpack, you can simply not use the htraced daemon. It's not
visible to clients and we can easily swap it out if we decide there's something
better later.
As I already said, we love protobuf. We love it so much that we want to be
able to link libhtrace.so to programs already using protobuf, and not have any
version conflicts pop up. The patch here makes that a reality. A patch using
protobuf-c and/or GRPC.io would not work for that use case. If we want to swap
this out later for the latest and greatest we easily can do that.
> 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)