Author: Piyush Rana

ScalaTest – How to Disable Test Cases using Tagging

Scala Test – How to disable Test Cases using Tagging Tagging your tests ScalaTest allows you to define some test categories, to “tag” tests as belonging to those categories, and filter tests to run based on their tags. For example, you could tag some tests as being slow and chose to exclude the slow tests during some runs, or say you have some intergration test Continue Reading

Akka Split Brain Resolver

Hello all, Knoldus organized a knolx session on the topic “Akka Split Brain Resolver” on Friday, 1st September 2017 In this session we have discussed about When operating an Akka cluster you must consider how to handle network partitions (a.k.a. Split Brain Scenarios) and machine crashes (including JVM and hardware failures). This is crucial for correct behavior if you use Cluster Singleton or Cluster Sharding, Continue Reading

Automatic Deployment Of Lagom Service On ConductR On DCOS

In our previous blog we have seen how to deploy the lagom service on conductr – https://blog.knoldus.com/2017/05/25/deploying-the-lagom-service-on-conductr/ In this blog we will create script to deploy your Lagom service on conduct present or running on top of DCOS. There are two types of automatic deployments can be done – Deploying from scratch (stop the current Lagom bundle and deploy the new one) Rolling/Incremental Deployment( Overriding Continue Reading

Akka Split Brain Resolver – Problem and its Solution

AKKA Split Brain Resolver When operating an Akka cluster the developer will surely comes around network partitions (Split Brain scenarios) and machine crashes. There are multiple strategies present by lightbend to handle such erratic behavior and, after a deeper explanation of the problem we are facing, I will try to present them along with their pros and cons using the Split Brain Resolver in Akka, Continue Reading

Deploying The Lagom Service On ConductR

In the previous blog, we have discussed how to create a Lagom service based architecture with a beautiful word count example. One can refer to the below link- https://blog.knoldus.com/2017/03/27/lagom-framework-the-legacy-wordcount-example/ In this blog we will discuss now how we can deploy the Lagom service on conductR. What is ConductR? As described by lightbend – “” ConductR is a “batteries included” approach to managing distributed systems. No Continue Reading

Lagom Framework: The Legacy WordCount Example

What is Lagom? Lagom is an open source micro-service framework, built with Akka message-driven runtime and Play web framework and finally light bend service orchestration. Mixing all these technologies abstracts away the complexities of building, running, and managing microservice architectures. Lagom is a Swedish word meaning “just the right amount”. Often, when people talk about microservices, they focus on the micro part of the name, Continue Reading

Spark Cassandra Connector On Spark-Shell

Using Spark-Cassandra-Connector on Spark Shell Hi All , In this blog we will see how we can execute our spark code on spark shell using Cassandra . This is very efficient at testing or learning time , where we have to execute our code on spark shell rather than doing on any IDE . Here we will use spark version –  1.6.2  you can download Continue Reading

Transaction Management in Cassandra

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

Cassandra Tips And Techniques

Tips and Techniques to Load Data in Cassandra Using Java – Driver .
To Implement Pagination Concepts in various Scenarios in Cassandra

Cassandra Counter Column And Table

Blog Describes the usage of counter column and table in Cassandra .

Solr Relevance Search Using SolrJ In Scala

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

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

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

%d bloggers like this: