O'Reilly logo

HBase High Performance Cookbook by Ruchir Choudhry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HBase REST and Java Client

HBase provides various communication mechanisms for communicating with the datastore, and it's also designed to solve different types of scenario that can occur.

Using the REST server, we are channeling all the requests to HTablePool, which provides efficiency in the following ways:

  • Efficient connection pool management.
  • If there is a case where an object is short-lived, it goes through the entire lifecycle of connection creation, such as connection preparation, preparing metadata, and then the actual transaction. This is totally avoided as the connection object is readily available.
  • Use of caching of the RegionServer information provides significant benefits.
  • In case of less but large size requests, REST is better:

How to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required