[
https://issues.apache.org/jira/browse/HBASE-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705325#action_12705325
]
stack commented on HBASE-794:
-----------------------------
1. Could we do our own thrift protocol, one that uses protobufs so protobufs
uses thrift as its rpc?
2. Protobufs is more compact that the new thrift binary? (Important when keys
and values are small)
3. Anyone comment on the quality of the java rpc in thrift? (Bryan making it
nio was the last I heard).
4. The comparison that Andrew posts is interesting; protobufs does slightly
better usually but is way worse doing object creation.
5. The lack of null is a pain; otherwise, I'd think it wouldn't take much
hacking up a thrift IDL to do the client/regionserver back and forth to drop in
thrift in place of what we have; its only a few methods. Absence of null means
client code has to be modified to handle whatever the null replacement is (if
its exceptions, that'd make thrift look bad performance-wise).
6. Regards opening a new issue to do a raw RPC, wistfully, I'd love it if we
didn't have to. Would be cool if we could do this issue I'd rather not have
to write our own RPC (And while on the wishful thinking, ignoring for a sec.
the issues raised above, I wish we could just use thrift-- Its open, there is
expertise to hand, and we'd get help from the community).
> Language neutral IPC as a first class component of HBase architecture
> ---------------------------------------------------------------------
>
> Key: HBASE-794
> URL: https://issues.apache.org/jira/browse/HBASE-794
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client, ipc, master, regionserver
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
>
> This issue considers making a language neutral IPC mechanism and wire format
> a first class component of HBase architecture. Clients could talk to the
> master and regionserver using this protocol instead of HRPC at their option.
> Options for language neutral IPC include:
> * Thrift: http://incubator.apache.org/thrift/
> * Protocol buffers: http://code.google.com/p/protobuf/
> * XDR: http://en.wikipedia.org/wiki/External_Data_Representation
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.