Re: New PMC Member: Michael Han

2017-06-27 Thread Gaurav Sharma
Congrats Michael!

On Tue, Jun 27, 2017 at 09:48 Flavio Junqueira  wrote:

> I'm very happy to announce that the Apache ZooKeeper PMC has voted to
> invite Michael Han to join the PMC and Michael accepted. Michael has done
> outstanding work in the community over the recent past and we felt it was
> time for Michael to deepen his level of engagement by joining the PMC.
>
> Please join me in congratulating Michael for his achievement.
> Congratulations, Michael!
>
> -Flavio
>
>
>


Re: Zookeeper is always CP or AP in terms of CAP theorem

2017-06-19 Thread Gaurav Sharma
For typical Zk use-cases, Consistency is non-negotiable; so CP. That said,
typically A is not black/white even if you are working with a CP system,
you can get a degree of availability. For prod use-cases, instead of a 3
node cluster, try to setup a 5 node cluster and write some simple
scripts/automation to heal the cluster on failures (read the admin docs) -
https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#sc_supervision You
can scale reads via observer nodes but you cannot (and should not) accept
writes without a quorum.


On Mon, Jun 19, 2017 at 11:47 AM, Kaushal Shriyan 
wrote:

> Hi,
>
> I am reading the CAP theorem and zookeeper either satisfies CP or AP. I am
> not sure how do we take care of Availability property or Consistency
> property. Any examples to understand it better. Please help me understand
> if i am completely wrong?
>
> Thanks in Advance.
>
> Regards,
>
> Kaushal
>


Re: Announcing KeptCollections, distributed Java Collections for ZooKeeper

2010-12-08 Thread Gaurav Sharma
For those interested in a Redis Collections implementation, please take a
look here:
https://github.com/gsharma/johm/tree/master/src/main/java/redis/clients/johm

specifically the CollectionMap, CollectionSet, CollectionSortedSet,
CollectionList classes.

On Wed, Dec 8, 2010 at 6:48 PM, Anthony Urso antho...@cs.ucla.edu wrote:

 Eric:

 This is pretty different from redis, but a Java Collections interface
 to redis would be awesome, too.

 Cheers,
 Anthony

 On Wed, Dec 8, 2010 at 3:33 PM, Eric Hauser ewhau...@gmail.com wrote:
  Out of curiosity, why not just use Redis for this?
 
  On Wed, Dec 8, 2010 at 6:15 PM, Ted Dunning ted.dunn...@gmail.com
 wrote:
  This looks very useful and looks like nice work.
 
  I note that the methods used are prone to race conditions, but if you
 are
  just thinking about shared maps, this probably isn't important.
 
  On Wed, Dec 8, 2010 at 12:40 PM, Anthony Urso anthony.u...@gmail.com
 wrote:
 
  I am pleased to announce the initial release of KeptCollections, a
  library of drop-in replacements for standard Java Collections that use
  Apache ZooKeeper as a backing store.
 
  KeptCollections are designed to make it easy for anyone to write
  distributed applications without having to learn the intricacies of
  ZooKeeper, or distributed programming in general.
 
  The collections use the well-known JDK APIs, yet any changes made to
  any of these collections by one node are seen by all other nodes
  within milliseconds, allowing for easy communication between processes
 in a
  computing cluster.
 
  More information here:
 
  https://github.com/anthonyu/KeptCollections/wiki
 
  and all code is available from:
 
  https://github.com/anthonyu/KeptCollections
 
  Please try it out, and let me know any problems you experience via
  github issues or this email address.
 
  Cheers,
  Anthony