hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NNever <nnever...@gmail.com>
Subject Re: Append and Put
Date Thu, 24 May 2012 03:11:58 GMT
Thanks J-D.

so it means 'Append' keeps write-lock only and 'Put' keeps
write-lock/read-lock both?
and  if we use 'Append' instead of 'Put', then the chance Clients to wait
will reduce, right?



2012/5/24 Jean-Daniel Cryans <jdcryans@apache.org>

> It's a facility so that you don't have to read+write in order to add
> something to a value. With Append the read is done in the region
> server before the write, also it solves the problem where you could
> have a race when there are multiple appenders.
>
> J-D
>
> On Tue, May 22, 2012 at 8:51 PM, NNever <nneverwei@gmail.com> wrote:
> > Simple question,  what's the difference between "Append" and "Put"?
> > It seems they both can put some datas into a row.
> > Dose "Append" keep several write operations in atom but Put not?
> >
> > if it is, then is "Append" is going to take place of Put? may Append
> slower
> > than Put?
> >
> > Thanks´Ż×
> >
> > -------------------------------
> > Best regards,
> > nn
>

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