前回に引き続きCassandraについて調査継続中で、今回はThrift APIの ConsistencyLevel について。以下のサイトの該当項目をざっくりと意訳した程度のメモです。 API06 – Cassandra Wiki Cassandra Thrift APIにおける ConsistencyLevel は、 storage-conf.xml で設定した <ReplicationFactor> (データの複製を保存するノード数)に基づいてread/writeの振る舞いを制御します。以下の条件が成り立つ場合は強い一貫性が得られ、常に最新データを参照できます。
![Cassandra Thrift APIのConsistencyLevel « Rest Term](https://cdn-ak-scissors.b.st-hatena.com/image/square/185023362ba215663c110241a1af0aeb662d3767/height=288;version=1;width=512/http%3A%2F%2Frest-term.com%2Fwp-content%2Fthemes%2Fsimple-organization%2Fimg%2Fsite_logo.png)