scala

A Basic CRUD Application Using ElasticSearch

In our previous post Introduction To ElasticSearch, we talked about the basic terminology of elastic search and basic requests to create or delete an index, check the health status of the cluster, indices etc. In this post, we are going to talk about creating a basic CRUD application using DSL. Without waiting let’s get started. To create an application, first, create an SBT Project, add Continue Reading

How Scala interacts with MongoDB

As a definition, MongoDB is an open source database that uses a document-oriented data model and a non-structured query language. It is one of the most powerful NoSQL systems and databases around today. Being a NoSQL tool means it does not use the usual rows and columns that we so much associated with the relational database management. It is an architecture that is built on Continue Reading

Scala: Auxiliary Constructors – We are here to help!

Hi Everyone, In this blog, we will be discussing the constructors of the Scala. Constructor: A constructor is a special method of a class or structure in object-oriented programming that initializes an object of that type. A constructor is an instance method that usually has the same name as the class, and can be used to set the values of the members of an object, Continue Reading

Scala Extractors

The Scala Chronicles: PartialFunction

If you’re new to programming in Scala(like I am), you must have heard someone or the other talking about how awesome and powerful the case keyword, Partialfunction and pattern matching in Scala are. It got me wondering about why people love them that much. So, to unravel this mystery around case, I went on an adventure to find out all there is to know about them(And 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

Hands-on: Apache Kafka with Scala

Apache Kafka is an open sourced distributed streaming platform used for building real-time data pipelines and streaming applications. It is horizontally scalable, fault-tolerant, wicked fast, and runs in production in thousands of companies. Before the introduction of Apache Kafka, data pipleines used to be very complex and time-consuming. A separate streaming pipeline was needed for every consumer. You can guess the complexity of it with Continue Reading

Case class and object in Scala

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

The Scala Chronicles: The Beginning.

This is the beginning of a multi-part series on Scala. Starting with an introduction to usage of var and `val` followed by Control Structures. If you have some prior programming experience, you’d feel right at home. If not, I’ll try to introduce the concepts in a way that you’d understand. Declaring “var”, or maybe not! Scala allows one to declare variables mutable or immutable. Immutable Continue Reading

Let us have a tour on Scala

Hello Readers,If you want to explore what Scala is? or why we use Scala? or even some basic concepts of Scala then this is the blog for you.If you’re a Java programmer, for example, reading this blog will surely expose you to many concepts of Scala. The name Scala stands for “scalable language”.  The language is so named because it was designed to grow with Continue Reading

Is Apache Flink the future of Real-time Streaming?

In our last blog, we had a discussion about the latest version of Spark i.e 2.4 and the new features that it has come up with. While trying to come up with various approaches to improve our performance, we got the chance to explore one of the major contenders in the race, Apache Flink. Apache Flink is an open source platform which is a streaming Continue Reading

kafka with spark

Apache Spark 2.4: Adding a little more Spark to your code

Continuing with the objectives to make Spark faster, easier, and smarter, Apache Spark recently released its fifth release in the 2.x version line i.e Spark 2.4. We were lucky enough to experiment with it so soon in one of our projects. Today we will try to highlight the major changes in this version that we explored as well as experienced in our project. In our Continue Reading

Scala: Facade Design Pattern

Hi Everyone, In our previous blogs, we have discussed several Structural design patterns i.e., Decorator design pattern, Adapter design pattern and Proxy design pattern. In this blog, we will be discussing Facade Design pattern and will try to implement it in Scala. Problem Statement: We recently had a tour to Udaipur from our office and to organize it, we inquired a travel agency and asked Continue Reading

Using Protocol Buffers in Scala

What is Protocol Buffers? Protocol buffers are a flexible, efficient, automated mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. Continue Reading

Knoldus Pune Careers - Hiring Freshers

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