O'Reilly logo

Cassandra Design Patterns - Second Edition by Rajanarayanan Thottuvaikkatumana

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Write-heavy pattern

In an IoT application with Cassandra as the data store, if the inflow of the data is very high, the write consistency levels should not be set high. Consistency levels of ANY, LOCAL_ONE, and ONE are ideal. The data comes in with a high velocity, and the data store should work like a sink. In this situation, if the consistency levels are set high, then for each write, the clients have to wait until the write is completed successfully on the required number of nodes as per the consistency level setting. The complexity increases when there are Cassandra clusters spread across multiple data centers in a network operations perspective. When the clients wait for the write to complete because of high consistency level settings, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required