Scala

AWS STS:AssumeRole vs Federation

Introduction AssumeRole and Federation are two widely used approaches provided by AWS to facilitate authorization of cloud resources via Identity Management System (IDMS). In this post, we will describe the Federation and AssumeRole approaches and their integration. We will also see how they are different, and finally, conclude which one serves better. FEDERATED USERS Federated Users(external identities) are users you manage outside of AWS for Continue Reading

Coding Best practices to follow with Scala

If you are reading this blog there may be two reasons. First, you are the programmer and second, you want to be a better programmer. So here we go, Even bad code can function, But if the code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of the poorly written code. But Continue Reading

Flinkathon: Why Flink is better for Stateful Streaming applications?

Stream processing is a way to query a continuous stream of data and draw conclusions from it within the boundaries of a real-time scenario. For example, receiving an alert as soon as a fraudulent transaction is done via a credit/debit card. The 2 main types of stream processing done are: Stateless: Where every event is handled completely independent from the preceding events. Stateful: Where a Continue Reading

Serverless – Are you ready to 737 Max 8 your core business?

Ok, I agree that this is not the best way to draw and comparison and some might find it in bad spirit as well. Apologies for that. But, I am amazed at what the organizations are willing to bet on given the lure of not managing your infrastructure. After the horrendous Max 8 episode, I have become a firm believer of the fact that Technology, Continue Reading

Running jmx2graphite as a java agent to push the JMX metrics into Graphite

In my previous blog, we discussed how to monitor a Kafka stream application using Grafana and Graphite. In this solution, we used jmx2graphite as a metrics exporter which takes the metrics from the Jolokia URL where Jolokia exposes the JMX metrics and pushes those metrics to Graphite. But, there is a problem with this solution that we need to deploy one jmx2graphite per service. So Continue Reading

Getting Started With Akka Http Cache

To build a rest point application, there are many options available like Akka Http, Finagle, Play Framework, Lagom etc. In our project, we are using Akka HTTP for building rest applications. We have lots of requests related to analytics. There are many requests which are very expensive. So, we faced an issue where our application was taking time to respond to some analytics. We have Continue Reading

Knoldus-Scala-Spark-Services

Installation and switching between multiple versions of Java

Having trouble in keeping multiple versions of Java in your single system? You have approached at the right place for seeking the solution. In this blog, we will learn how to keep multiple versions of java in your system and how to switch between them as per your convenience. Before moving forward, let’s have a basic understanding of what is SDKMAN?

Tale of a Container’s File System

Namespace, CGroup, and Union file-system are the basic building blocks of a container. Let’s have our focus on file-system. Why yet another file-system for the container? Are Conventional Linux file-systems like ext2, ext3, ext4, XFS etc. not good enough to meet the purpose? In this blog post, I will try to answer these questions. Here we will be delving deeply into the Union File System Continue Reading

Combinators- A functional approach of error handling in ‘Rust’

In this world, everyone is interested in the spikes whether it is related to professional thing or personal. In this blog, I am going to give you spikes of the programming practices in Rust. Error Handling – process of handling the possibility of failure Today, every programmer is worried whether he has implemented error handling in right manner or not. There are various ways to Continue Reading

Image Comparison with AWS Rekognition using JAVA

AWS Rekognition is a service that enables you to add image and video analysis to your application. So this is the place where you’ll get to know how to embodied AWS Rekognition with your JAVA application.

Embody System Commands in Rust Programming

System Commands helps users to communicate with the Operating System and with the help of that commands user can operate the whole Operating System(OS). System commands are handled by the shell or command interpreter of the Operating System.In this blog, I will show you how to execute System Commands through Rust Programming.

Authentication and Authorization in Microservices

Microservices Architecture has been gaining a lot of ground as the preferred architecture for implementing solutions as it provides benefits like scalability, logical and physical separation, small teams managing a part of the functionality, flexibility in technology etc. But these benefits come at a cost of simplicity since microservices are distributed the complexity of managing them increases. One of the key challenges is how to Continue Reading

Functional Interfaces In Java8

Hello readers, as you have visited here, you must be aware of Interfaces in Java. Before Java 8, all methods defined in an interface are public and abstract by default. After Java 8, there were certain enhancements in interfaces. Amongst all the enhancements in Java 8, one of them is “Functional Interface”. What are Functional Interfaces? In Java, the term functional interface refers to those Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!