Author: Akhil Vijayan

integrating Cucumber with Akka-Http

Akka Persistence: Making Actor Stateful

Reading Time: 3 minutes Akka is a toolkit for designing scalable, resilient systems that span processor cores and networks. Akka allows you to focus on meeting business needs instead of writing low-level code to provide reliable behavior, fault tolerance, and high performance. Akka actor can have state but it’s lost when the actor is shutdown or crashed. Fortunately, we can persist actor state using Akka Persistence which is one of Akka Continue Reading

State Of the World(SOW) in AMPS

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

AMPS (Advanced Message Processing System)

Reading Time: 3 minutes Hi readers, in this blog, I will talk about what are AMPS, how it works, and then finally will talk about how to run it with a working example. So let’s get started…!! What are AMPS(Advanced Message Processing System)? AMPS from 60East Technologies is a fast messaging engine that supports both publish-subscribe messaging and queuing. It is not just a simple messaging engine it is Continue Reading

Best Practices for Cassandra Data Modeling

Reading Time: 4 minutes People new to NoSQL databases tend to relate NoSql as a relational database. But there is quite a difference between those. For people from relation background, CQL looks similar but the way to model it is different. Picking the right data model is the hardest part of using Cassandra. I will explain to you the key points that need to be kept in mind when designing a schema Continue Reading

Cassandra User-defined types(UDTs)

Reading Time: 2 minutes Cassandra supports a rich set of data types that we can use to create our tables. You can refer to all the supported data types from here. Other than that Cassandra also provides support to user-defined data types. User-defined types (UDTs) can attach multiple data fields, each named and typed, to a single column. The fields used to create a UDT may be any valid Continue Reading

Run your project using Conductr Sandbox

Reading Time: 2 minutes ConductR sandbox is a solution for managing Lightbend Reactive Platform applications across a cluster of machines. It is reactive from the ground up thus enabling operations to provide the resiliency required to unleash the full benefits of the Lightbend Reactive Platform in their organization. ConductR is suitable for running microservices in a cluster. ConductR comes with a sandbox where we can test our project locally. Continue Reading

uJson: a Simple Json Library

Reading Time: 2 minutes uJson is uPickle’s JSON library, which can be used to easily manipulate JSON source and data structures without converting them into Scala case-classes. It comes bundled with uPickle json serializer but it can be used standalone as well. You may refer to my previous blog to known more about uPickle. We can perform the following operations with uJson:   Add the following to the build.sbt libraryDependencies Continue Reading

Scala Extractors

Functional Error Handling in Scala

Reading Time: 2 minutes In Java, exceptions are handled using try/catch where we throw exceptions for the failure condition. That’s ok with Java but as a Scala developer, we should avoid this. Let me take an example, case class Person(name: String, location: String) val person = Person(“Akhil”, “Delhi”) def getPerson(person: Person) : Person = { if(person.location.equals(“Delhi”)) { person } else { throw new Exception(“Invalid Person Object”) } } val Continue Reading

AWS SAM Local: Test Serverless Application Locally

Reading Time: 2 minutes AWS Lambda is a serverless framework where we can just create an application, make an artifact out of it and just upload it. Developers are free from configuring the infrastructure as it is handled by AWS. Now the concern here is that when developers want to test the application after changing the code they have to, again and again, deploy the jar to AWS lambda Continue Reading

uPickle: a flexible Json Serializer

Reading Time: 2 minutes uPickle serializer is a lightweight Json library for scala. uPickle is built on top of uJson which are used for easy manipulation of json without the need of converting it to a scala case class. We can even use uJson as standalone too. In this blog, I will focus only on uPickle library. Note: uPickle does not support Scala 2.10; only 2.11 and 2.12 are supported uPickle (pronounced micro-pickle) is a Continue Reading

uPickle : Comparison with other Json Serialiers

Reading Time: 2 minutes In my previous blog, I talked about how uPickle works. Now I will be comparing it will many other json serializers where I will be serializing and deserializing scala case class. Before that let me discuss all the json serializers that I have used in my comparison. I will compare uPickle with PlayJson, Circe and Argonaut. You can get all the code that I will explain in my github repository. Continue Reading

Create AWS Lambda with ease

Reading Time: 3 minutes Hi readers, this is my second blog on AWS lambda, I covered the basics in my previous blogs. Now we will focus on the implementation part. Before starting, please keep a check on these things: Prerequisite Setup your AWS account, click here  Understanding what AWS Lambda is? click here All set let’s start.

A WalkThrough with AWS Lambda

Reading Time: 4 minutes   Serverless Architecture Serverless is an application framework for building a serverless application without having to worry about managing infrastructures. It is based on the principle of third party service (BaaS) and on custom codes which run on a container(FaaS). Serverless architecture doesn’t mean we don’t have a server. With the serverless architecture, we still have a server to run our application, it’s just that Continue Reading

Knoldus Pune Careers - Hiring Freshers

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