How CAP theorem apply to Hazelcast?

284 views
Skip to first unread message

Mengsu Chen

unread,
Dec 5, 2014, 2:21:22 PM12/5/14
to haze...@googlegroups.com
Hi All,

Can someone explain me how CAP theorem apply to Hazelcast?

---
Tim

Rahul

unread,
Dec 6, 2014, 4:48:19 AM12/6/14
to haze...@googlegroups.com
Hazelcast provides AP i.e. in case of P, data continues to be available to connected nodes. However, Hazelcast also provides the ability to control C when P happens by using custom Merge Policies. So in essence, you get AP out of the box and can manage C with little customisation. See below link for custom merge policies - 

Rahul

unread,
Dec 6, 2014, 4:55:08 AM12/6/14
to haze...@googlegroups.com
My previous message went out a bit early...

Custom merge policy will let you control what you want to do with the data from the nodes which were partitioned, received updates and now coming back into the cluster. If the partitioned node/s do not come back in, then C is sacrificed anyways.
Reply all
Reply to author
Forward
0 new messages