[
https://issues.apache.org/jira/browse/HBASE-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547461#comment-13547461
]
stack commented on HBASE-7477:
------------------------------
Tell us more what you are thinking Karthik
I'm looking at it now.
In trunk we have protobuf Service to put in place of the reflection. This is
autogen'd code that in essence keeps a dictionary (a ServiceDescriptor) that it
searches to figure what particular method invocation to make (the autogenerated
code makes up a nice, fast lookups). The pb Service 'fit' is not perfect
though -- it drags along some other stuff we do not want and it is missing a
means of passing "extra" stuff unless we do some hackery -- so reluctant to
take it on though it does away with reflection.
Good on you K.
> Remove Proxy instance from HBase RPC
> ------------------------------------
>
> Key: HBASE-7477
> URL: https://issues.apache.org/jira/browse/HBASE-7477
> Project: HBase
> Issue Type: Sub-task
> Reporter: Karthik Ranganathan
>
> Currently, we use HBaseRPC.getProxy() to get an Invoker object to serialize
> the RPC parameters. This is pretty inefficient as it uses reflection to
> lookup the current method name.
> The aim is to break up the proxy into an actual proxy implementation so that:
> 1. we can make it more efficient by eliminating reflection
> 2. can re-write some parts of the protocol to make it even better
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira