On Aug 24, 2011, at 11:37 AM, Sujee Maniyam wrote:

> sounds like even I created an HTablePool and shared it among threads (which
> seems safe to do as pointed out here),   I won't see much improvements for
> accessing the SAME table in multiple threads.
> 
> correct?

That depends on how many region servers your table is split across.  The unit 
of sharing, as I understand it, is the client connection to the region server.  
If your threads use keys that fall into the same region, they share a 
connection.  If your threads use keys that fall into different regions on the 
same region server, they still share a connection.  If your threads use keys 
that fall into different regions that are distributed across different region 
servers, they do not share a connection and you get maximum concurrency.

joe

Reply via email to