In Scala Future[A], Option[T] and Either[A, B] is very useful and most widely used types. Very often we want to combine them, but a Future[Either[A, B]] is kind of awkward to handle. Before going further let’s take a look at What Either is and what problem we are facing ?? An either can be left or a right value, it always wraps another value left Continue Reading
The Microservice architecture is in an uproar, in the industry and the business domain. The Microservice architecture tackles the drawbacks associated with the Monolithic architecture. The Lagom framework is a front-runner in the development of modern enterprise applications. This blog is the first in a multi-part series on The Lagom framework. In this blog, I’d take you through the following topics: Why Microservices and not Continue Reading
If you are coming from Java background, where you have used Exception Handling extensively and you have started working on new language like RUST, which doesn’t support Exception Handling then you will be forced to think that does such kind of world really exists? The Java story Java provides full coverage to Exceptions and those are required to be handled with try-catch like construct. In Java, Continue Reading
One would expect that after being in the industry for almost 20 years, a trivial comparison like this would be years behind me but I probably less correct. It seems that the right amount of Unit tests is still a burning issue which needs some attention. At Knoldus, we have the policy of maintaining a very high code coverage so that we can objectively validate Continue Reading
Hi readers, in this blog I am going to explain SOW in amps. So in order to understand this, you need to go through my previous blog on amps so as to get basic knowledge about it. AMPS’s SOW State of the World(SOW) in amps is one of the main stands out feature which provides the ability to persist the most recent update for each Continue Reading
In this blog, we are going to have a look at one of the important concept of Scala that is case class moreover we will also take a look at companion object. Before diving into a case class let’s first look at scala basics. Construct like class, traits, object, the package can have characteristics and behaviour. Scala has access modifier to restrict the use of Continue Reading
In concurrency different part of the program run independently of each other and in parallel programming parts of a program execute at the same time, and these factors are becoming so important as we want to take advantage of multiple processors. In Rust you don’t have look for different circumstances under which runtime concurrency bug occurs because in rust most of the concurrent errors are Continue Reading
Do you know any programming language which allows memory management or you want to manage the memory on your own, maybe because you just don’t want to rely on the garbage collector, Rust allows us to do so? In this blog I am going to tell how you can actually manage your memory on an abstract level . Exited!!? here we go…..
Do you know!! to create your own request handler using Java for AWS Lambda is quite easy. Instead of implementing AWS Lambda’s predefined interfaces and override their abstract methods, you can write your own custom handler with user-defined parameters and use them accordingly. In this blog, we’ll get to know how to create request handler in Java and deploy handler’s jar to AWS Lambda.
Printing to standard output is a good way to trace through your code and troubleshoot potential problems. While coding, many programmers use a lot of println statements to see what is going on at different levels in their code. If you are from Java background, you would have used System.out.println() and System.err.println() methods. If you are from Scala background, you would have used println. As Continue Reading