Author: Piyush

Transaction Management in Cassandra

Reading Time: 4 minutes As we are all from the Sql Background and its been ages SQL rules the market , so transaction are something favorite to us . While Cassandra does not support ACID (transaction) properties but it gives you the ‘AID’ among it . That is Writes to Cassandra are atomic, isolated, and durable in nature. The “C” of ACID—consistency—does not apply to Cassandra, as there is Continue Reading

Solr Relevance Search Using SolrJ In Scala

Reading Time: 3 minutes In this blog we will see how we can perform relevance(or relevant) search in solr using solrj Http API in scala . To give brief what is relevance search : – A developer working on search relevancy focuses on the following areas as the “first line of defense”: Text Analysis: the act of “normalizing” text from both a search query and a search result to Continue Reading

Knolx : MongoDB – Replication And Sharding

Reading Time: < 1 minute Hello all, Knoldus organised a knolx session on the topic “MongoDB – Replication And Sharding” on Friday, 4th november and  11th November 2016. MongoDB  is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas. MongoDB is developed by MongoDB Inc. and is free and open-source, published under a combination of the GNU Affero General Continue Reading

Cassandra Data Modeling – Primary , Clustering , Partition , Compound Keys

Reading Time: 5 minutes In this post we are going to discuss more about different keys available in Cassandra . Primary key concept in Cassandra is different from Relational databases. Therefore it is worth spending time to understand this concept. Lets take an example and create a student table which had a student_id as a primary key column. 1) primary key  create table person (student_id int primary key, fname Continue Reading

TITAN DB SETUP WITH CASSANDRA

Reading Time: 4 minutes TITAN DB SETUP WITH CASSANDRA CONNECT AND CONFIGURATION OF TITAN-DB WITH CASSANDRA:- Step 1: Download Cassandra Version: apache-cassandra-3.5 . Downlaod TitanDB Version: titan-1.0.0-hadoop1. Step 2 : Extract both downloads ,say in :- /var/lib/cassandra and /var/lib/titan respectively. Step 3: Configure cassandra: If you’ve installed Cassandra with a deb or rpm package, the directories that Cassandra will use should already be created an have the correct permissions. Otherwise, Continue Reading