Skip to content

Consistency

Ioannis Papapanagiotou edited this page Sep 7, 2015 · 36 revisions

Consistency has been introduced to Dynomite in version 0.5.0 in the local region. There are two configurations.

DC_ONE: Reads and writes are propagated synchronously only to the node in the local Rack (Availability Zone) and asynchronously replicated to other Racks and regions.

DC_QUORUM: Reads and writes are propagated synchronously to quorum number of nodes in the local region and asynchronously to the rest.

Adding consistency can be done through the stats port:

curl http://localhost:22222/set_consistency/read/local_quorum

curl http://localhost:22222/set_consistency/write/local_quorum

Consistency can be configured for read or write operations separately (clusterwide)