You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sanjeet Malhotra (Jira)" <ji...@apache.org> on 2022/10/02 15:29:00 UTC

[jira] [Commented] (HBASE-19316) Direct invocation Client-Server short-circuit without having to pass through the eye of a protobuf stub

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

Sanjeet Malhotra commented on HBASE-19316:
------------------------------------------

[~stack] Can you please elaborate what you meant by "directly hooking the client and server protobuf Services up to each other". I am new to HBase and would like to become a contributor. Thanks.

> Direct invocation Client-Server short-circuit without having to pass through the eye of a protobuf stub
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19316
>                 URL: https://issues.apache.org/jira/browse/HBASE-19316
>             Project: HBase
>          Issue Type: Improvement
>          Components: rpc
>            Reporter: Michael Stack
>            Priority: Major
>              Labels: beginner
>
> In hbase, on server-side, we have a short-circuit facility that bypasses RPC by directly hooking the client and server protobuf Services up to each other.
> Passing through the Protobuf Service stub requires that the invocation be cast as protobufs -- the invocation itself and all params are converted to protobuf to pass through the eye of the protobuf Service stub. Can we do better and make direct invocations w/o having to do the protobuf marshalling/unmarshalling? (Can we do it in a way that is not brittle in need of careful repair whenever a change is made?). It would make for some nice savings.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)