lhofhansl opened a new pull request #1405:
URL: https://github.com/apache/phoenix/pull/1405


   From Jira: 
   See [PHOENIX-6501](https://issues.apache.org/jira/browse/PHOENIX-6501), 
[PHOENIX-6458](https://issues.apache.org/jira/browse/PHOENIX-6458), and 
[HBASE-26812](https://issues.apache.org/jira/browse/HBASE-26812).
   
   HBase's ShortCircuit Connection are fundamentally broken in HBase 2. We 
might be able to fix it there, but with all the work the RPC handlers perform 
now (closing scanning, resolving current user, etc), I doubt we'll get that 
100% right. HBase 3 has removed this functionality.
   
   Even with HBase 2, which does not have the async protobuf code, I could 
hardly see any performance improvement from circumventing the RPC stack in case 
the target of a Get or Scan is local. Even in the most ideal conditions where 
everything is local, there was improvement outside of noise.
   
   I suggest we do not use ShortCircuited Connections in Phoenix 5+.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to