incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamar Fraenkel <ta...@tok-media.com>
Subject Re: Hector counter question
Date Wed, 21 Mar 2012 06:43:43 GMT
Thanks for the clarification,

*Tamar Fraenkel *
Senior Software Engineer, TOK Media

[image: Inline image 1]

tamar@tok-media.com
Tel:   +972 2 6409736
Mob:  +972 54 8356490
Fax:   +972 2 5612956





On Tue, Mar 20, 2012 at 2:16 PM, Richard Low <rlow@acunu.com> wrote:

> On 20 March 2012 06:51, Tamar Fraenkel <tamar@tok-media.com> wrote:
>
> > But the increment is thread safe right? if I have two threads trying to
> increment a counter, then they won't step on each other toe?
>
> That's right - you can have many threads incrementing the same counter
> and it's safe.  But reading and incrementing is unsafe.
>
> Richard.
>
> --
> Richard Low
> Acunu | http://www.acunu.com | @acunu
>

Mime
View raw message