Cassandra


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-5bf3480c9a967878403854/] 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-5bf3480c9b7d4516564474/] Use the keyspace (will use that key space) [crayon-5bf3480c9b7e1079643756/] […]

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



Cassandra Cassandra is a distributed database from Apache that is highly scalable and designed to manage very large amounts of structured data. It provides high availability with no single point of failure. NoSQL The primary objective of a NoSQL database is to have simplicity of design, horizontal scaling, and finer […]

Cassandra Interview Cheat Sheet



Cassandra Vnodes
Cassandra Overview Cassandra is another no-sql database. Similar to Hbase it is also distributed column-oriented database to handle big data workloads across multiple nodes but it can support both Local File system and HDFS, whereas in Hbase the underlying file system is also HDFS. It overcomes single point of failure […]

Cassandra Overview