Author: Piyush

5 Laws Of Life and their relation in the IT world to achieve success

Reading Time: 4 minutes We all have been learning the Laws of Physics, Chemistry, and Maths from childhood and they teach us how the world works, but then to be successful in life we have a few other laws that make one’s life easy and help the person to success in all aspects of his life. Here I will walk you through 5 such laws and then we will Continue Reading

three woman in front of laptop computer

Knoldus Accelerators: One Stop for Learning and Faster Development

Reading Time: 2 minutes I am glad and happy to announce our new version and a new portal for Accelerators is up and live. Knoldus Accelerators –  https://accelerator.prod.go1percent.com/ We have divided our accelerator into 3 parts – Learning Accelerators These are your one-step solution providing curated templates in more than 22 technologies and languages. It’s a repository of templates to accelerate all your development requirements. Kickstart your development with Continue Reading

Complete CI/CD Pipeline For MicroService Using Akka Http And BitBucket

Reading Time: 4 minutes In this blog, we will see how to set up a Bit-Bucket Pipeline to get CI/CD for your Akka HTTP Application. We will be deploying the application on the HEROKU server, but in this blog, we will also see how to dockerize the application and push the image on Docker Hub which further can be used to deploy on any container orchestration platform. Let’s get Continue Reading

SBT 2 Bazel

Reading Time: 5 minutes In this going to be a long detailed blog we will optically discern how one can transform its long running SBT build project and can convert it into Bazel. So bear with me and lets start by introducing an incipient build giant in tech industry called “BAZEL“ What is Bazel? Bazel is an open-source build and test tool similar to Maven, and Gradle, which uses Continue Reading

Reactive Architecture

Reading Time: 2 minutes Recently I got an invitation to present a guest lecture for faculty of Engineering colleges in ABES college of Engineering. I came up with the most trending topic i.e Reactive Architecture. We talked about what is this buzzing keywords and why does it came into existence. Also What are the challenges one were facing and how are the real world problems being solved by using Continue Reading

Did you manage your garbage efficiently?

Reading Time: 3 minutes In the JVM world if you talked about Java Memory Management then first you want to understand the working of Java Garbage Collection. While working on JVM based application it becomes super easy when JVM itself manages your GC for you but the problem starts when you start facing performance degradation and that too because of in-efficient GC. So let’s start with understanding what is JVM GC model and Continue Reading

Akka Stream: Map And MapAsync

Reading Time: 2 minutes In this blog, we will discuss what are “map” and “mapAsync” when used in the Akka stream and how to use them. The difference is highlighted in their signatures:- Flow.map takes in a function that returns a type T, while Flow.mapAsync takes in a function that returns a type Future[T]. Let’s take one practical example to understand both:- Problem – Suppose we have a user with a userId and Continue Reading

Generate Docker Image For Mesosphere Kafka Client

Reading Time: 2 minutes 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

Reading Time: 3 minutes 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

Reading Time: 3 minutes 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

Reading Time: < 1 minute 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

Reading Time: 2 minutes 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

Deploying The Lagom Service On ConductR

Reading Time: 3 minutes 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