but I have many checkAndPut operations. will use batch a better solution?
On Mon, Apr 28, 2014 at 8:01 PM, Jean-Marc Spaggiari <[email protected]> wrote: > Hi Li Li, > > Yes, threads will impact the performances. If you send all you writes with > a single thread, a single HBase handler will take care of them, etc. HBase > does not provide a single handler for a single client connexion. It's able > to handle multiple threads and clients. > > However, it also all depends on the way you send your writes. If you send a > single puts(<10000>) per seconds, if will not be better to send 10 000 > threads with a single put. > > I will recommend you to run some perf tests on your installation to find a > good number for your configuration. > > JM > > > 2014-04-28 6:27 GMT-04:00 Li Li <[email protected]>: > >> hi all, >> with the same read/write data, will threads count affect performance? >> e.g. I have 10,000 write request/second. I don't care the order very >> much. >> how many writer threads should I use to obtain maximum throughput? >>
