Cassandra

Getting Started With Phantom

Reading Time: 3 minutes Phantom is Reactive type-safe Scala driver for Apache Cassandra/Datastax Enterprise. So, first lets explore what Apache Cassandra is with some basic introduction to it. Apache Cassandra Apache Cassandra is a free, open source data storage system that was created at Facebook in 2008. It is highly scalable database designed to handle large amounts of data across many commodity servers, providing high availability with no single Continue Reading

Cassandra Internals: Writing Process

Reading Time: 3 minutes What is Apache Cassandra? Apache Cassandra is a massively scalable open source non-relational database that offers continuous availability, linear scale performance, operational simplicity and easy data distribution across multiple data centres and cloud availability zones. It was originally developed at Facebook The main reason that Cassandra was developed is to solve Inbox-search problem. To read more about Cassandra you can refer to this blog. Why Continue Reading

Cassandra Database : The Next Big Thing

Reading Time: 3 minutes Apache Cassandra, a top level Apache project born at Facebook , is a distributed database for managing large amounts of structured data across many commodity servers, while providing highly available service and no single point of failure. BASIC FLOW OF DATA INTO CASSANDRA TABLES Installation In a terminal window: 1. Check which version of Java is installed by running the following command: $ java -version It is Continue Reading

Data modeling in Cassandra

Reading Time: 3 minutes Role of Partitioning & Clustering Keys in Cassandra Primary and Clustering Keys should be one of the very first things you learn about when modeling Cassandra data.  With this post I will cover what the different types of Primary Keys are, how they can be used, what their purpose is, and how they affect your queries. Primary key Primary Keys are defined when you create Continue Reading

Apache Cassandra

Getting Started with the Apache Cassandra

Reading Time: 2 minutes Why Apache Cassandra? Apache Cassandra is a free, open source, distributed data storage system that differs sharply from relational database management systems. Cassandra has become so popular because of its outstanding technical features. It is durable, seamlessly scalable, and tuneably consistent. It performs blazingly fast writes, can store hundreds of terabytes of data, and is decentralized and symmetrical so there’s no single point of failure. Continue Reading

Neo4j Apoc : A Blessing For Developer

Reading Time: 6 minutes Hello Folks, As we know about Neo4j, it pulls out developers life from the trouble and black & white screen of the databases. It doesn’t give freedom from the old databases also provides best support with it’s predefined procedures. As we know that in the Relational Database, Procedure provide advantages of better performance, scalability, productivity, ease of use and security and Neo4j also provides some Continue Reading

Building Microservices Architecture Based Enterprise Applications in Java Using Lagom – Part I

Reading Time: 5 minutes As we know, now days, most of the enterprise applications design as a “Microservices Architecture” because of scalability, sharding, loosely-coupling and many others reasons are there. On the other hand  JavaEE help us for building an Enterprise Applications. As we know, Java help us for building a good applications, but with JavaEE monolithic approach our applications are not scalable as compare to microservices. That’s why, Continue Reading

Short Interview With SMACK Tech Stack !!!

Reading Time: 3 minutes Hello guy’s, today’s we conduct short interview with SMACK about its architecture and there uses. Let’s start with of some introduction. Interviewer: How would you describe your self ? SMACK: I am SMACK (Spark, Mesos, Akka, Cassandra and Kafka) and belongs to all open source technologies. Mesosphere and Cisco collaboration bundles these technologies together and create a product called Infinity.  Which is used to solved 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

Cassandra with Spark 2.0 : Building Rest API !

Reading Time: 3 minutes In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick  😉  and Cassandra as the data store. We have seen the power of Spark earlier and when it is combined with Cassandra in a right way it becomes even more powerful. Earlier we have seen how to build Rest Api on Spark and Couchbase 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

How to setup Cassandra Phantom driver for Scala

Reading Time: 2 minutes Phantom is a high performance Scala DSL for Apache Cassandra and now the leading tool for integrating Cassandra in the Scala Eco-system. So, if you are planning on using Cassandra with Scala, phantom is the weapon of choice. It has slowly but surely grown to become an established Scala framework and through its high focus on: Scala type system to mimic CQL and translate them Continue Reading