Author: Piyush Rana

Generate Docker Image For Mesosphere Kafka Client

Have you ever tried to access Kafka running on mesos on top of DCOS, and figure out that you end up with no latest Kafka client image in the docker hub? I have uploaded a new image with the Latest Kafka Stable Version 2.0.0, and one can get it easily – docker pull piyushdocker/kafka-client-2.0.0-image If you want to create your own image with any other Continue Reading

Transport Cinnamon Matrices From Lagom To Prometheus

Monitoring is a pain when it comes to distributed applications, and even more when you have shared or non-shared variables to monitor in your application. Here in this blog, I’ll explain two tools which can ease the monitoring efforts, one for generating metrics called Cinnamon and other to visualize them, called Prometheus. Let’s have a quick brief intro about these two – Prometheus – An open-source monitoring system with Continue Reading

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

%d bloggers like this: