hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: question about threads count
Date Tue, 29 Apr 2014 00:36:09 GMT
It depends. Batch a list of puts/gets wll be way faster than checkAndPut,
but the result will not be the same... a batch of puts will not do any
check...


2014-04-28 20:17 GMT-04:00 Li Li <fancyerii@gmail.com>:

> but I have many checkAndPut operations.
> will use batch a better solution?
>
> On Mon, Apr 28, 2014 at 8:01 PM, Jean-Marc Spaggiari
> <jean-marc@spaggiari.org> 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 <fancyerii@gmail.com>:
> >
> >> 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?
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message