Monthly Archives: January 2016


Production issue: when we are trying to write a select query with 8 lacks ids “in condition “. then we got faced below issue,    To solve the above exception, we used distributed calls in Java client as shown below, [crayon-5f020e6756f7f007138547/] Few Production configurations in cassandra RetryPolicy Three scenarios you can control […]

Cassandra production scenarios/issues


analogy
Cassandra Table structure/Terminology Before going to learn CQL commands, we just need to know terminology in cassandra. RDBMS Cassandra Terminology Database Keyspace Table Column Family Primary key Row Key Column name Column name Column value column value CQL Commands Creating a key-space [crayon-5f020e6757bef934176120/] Use the keyspace (will use that key space) [crayon-5f020e6757bf9155560517/] […]

Cassandra query language (CQL) and Cassandra Java Client Example


dml_caching-reads_12
Storage engine Cassandra uses a storage structure similar to a Log-Structured Merge Tree, unlike a typical relational database that uses a B-Tree. Cassandra avoids reading before writing. Read-before-write, especially in a large distributed system, can produce stall in read performance and other problems. Cassandra never re-writes or re-reads existing data, […]

Cassandra write and read process



arc_vnodes_compare
Cassandra is designed in such a way that, there will not be any single point of failure. There is no master- slave architecture in cassandra. cassandra addresses the problem of SPOF by employing a peer-to-peer distributed system across homogeneous nodes where data is distributed among all nodes in the cluster. In cassandra all […]

Cassandra Architecture