Author: Pallavi Singh

Demystify GraphQL

Reading Time: 4 minutes In this blog, I will be introducing and demystify the GraphQL. I will be elaborating its advantages. And also put some focus on its inception and reasons for its popularity. GraphQL is both a query engine and a query language. It was first created by Facebook in 2012. Initially, the design was more of a specification. Facebook used it as a specification to describe the Continue Reading

Realm: What and Why?

Reading Time: 5 minutes In this blog, I will be introducing the Realm along with its ecosystem and components in detail. Introduction The realm is a NoSQL based server and a client component. The components connect via a fast and efficient sync protocol. It enables real-time, connected apps and services that are responsive and performant irrespective of network status. The design of the realm is based on the principle Continue Reading

Lagom Persistence API with Couchbase

Reading Time: 4 minutes In this blog, I will talk about using Couchbase with Lagom’s Persistent Entity API. And then we will see how we can query for fetching the data. We already know that Lagom handles data persistence with ‘Persistent Entity’ which holds the state of individual entities. And to interact with them one must know the identifier of the entity. So Lagom provides the support to build Continue Reading

Eventing with Couchbase

Reading Time: 3 minutes In this blog, I am going to discuss Eventing with Couchbase. And to understand eventing, let us first understand what is a mutation? Any changes to the data or metadata in a database are called mutation. Mutation in Couchbase The term ‘mutation’ generally refers to document changes happening in the Couchbase cluster. The Couchbase cluster considers create, update, expiry, or delete operations as a data Continue Reading

Knoldus now associated with Tech Triveni

Reading Time: 2 minutes Knoldus is proud to announce that it is now closely associated with the Tech Triveni as a Platinum Sponsor. Tech Triveni is the incredible international technical conference being organized at India International Centre, New Delhi, India on the 18th November 2018. The conference domain spans across – Reactive,  Big data and Functional programming; from development to operations. Knoldus has joined the initiative as a sponsor Continue Reading

Scala Extractors

Back2Basics: Scala Extractors in Detail

Reading Time: 5 minutes While working with the Case Classes closely, we have a very concise way to decompose an entity using pattern matching. The potent example is pattern matching on the Some(x) and None, as most of us know they are case class and case object respectively. The potential question that we have is do we have a provision to use similar patterns without having an associated case Continue Reading


Back2Basics: Catalogue #2

Reading Time: 2 minutes Knoldus Inc is pleased to announce the launch of “Back2Basics: Tutorials”. We at Knoldus firmly believe that quality of coding plays an important role in the success of any IT organization and here we are adding a few more steps to heighten out coding benchmarks. At Knoldus we are laying the foundation for adopting healthier scala coding environment through getting and setting our Basics right. In our Continue Reading

Back2Basics: Catalogue #1

Reading Time: 2 minutes Knoldus Inc is proud to announce the launch of program “Back2Basics”. Back2Basics is our effort to add value to the Scala ecosystem by exploring not so explored concepts in Scala. The idea behind the inception of the program is to develop an understanding of Scala concepts that are hard to understand and not frequently used by developers. In this program, we have two parallel tracks Continue Reading

Back2Basics : Existential types in Scala

Reading Time: 5 minutes In the first blog of the Scala Type System series, I  had put a lot of emphasis on the fact that “Type variables make a very powerful piece of type-level programming”. They appear in a variety of forms and variations. One of the important forms is “existential types”. In today’s blog, I would like to get you familiar with the existential types. Given below is a Continue Reading

Back2Basics: Scala Type System in Depth

Reading Time: 5 minutes In this blog, I will put emphasis on the power and awesomeness of the Scala Type System. Also, I will try to reiterate that it is not difficult or complicated as perceived.  In layman terms, the Scala Type system helps us keep the code tidy and type safe.  So in this blog, I shall take you through the following : Parameterized types In-Variance Co-Variance Contra-Variance

Back2Basics: Introduction to Scala Type System

Reading Time: 5 minutes As programmers, we often come across a concept called type inference. To begin with let me clarify that type inference is not something unique to Scala, there are many other languages like Haskell, Rust and C# etc that have this language feature. Going by the bookish definition “Type inference refers to the automatic detection of the data type of an expression in a programming language”. Continue Reading

Scripting Library in Scala – Ammonite

Reading Time: 4 minutes Ammonite is a Scala library that lets us use Scala language for Scripting. It allows us to write scripts in Scala. The advantage of using Ammonite is that we don’t have to switch over to Python or Bash for scripting requirements of the projects.This liberates the developer from the need of working in multiple languages. Ammonite can be used in the REPL as scripts or Continue Reading

Challenges to Monitoring a Fast Data Application

Reading Time: 5 minutes In the present landscape, the buzzword is “Fast Data” and it is nothing but data that is not at rest. And since the data is not a rest, the traditional techniques of working on the data that is rest are no longer efficient and relevant. The importance of streaming has grown, as it provides a competitive advantage that reduces the time gap between data arrival Continue Reading