Author: Girish Bharti

Streaming data from Cassandra using Alpakka

Reading Time: 7 minutes Alpakka project is an open-source initiative to implement stream aware and reactive pipelines using Java and Scala which is built on top of Akka streams and specially designed to provide a DSL for reactive and stream-oriented programming with built-in support for backpressure to avoid the flood of data. As a reference, Akka streams supports reactive streams and JDK 9+ compliant implementation and therefore fully interoperable Continue Reading

The Twelve-factor app principle with Lagom framework

Reading Time: 11 minutes Well, the Twelve-factor app principle is not new for software development. It was drafted by developers at Heroku and was first presented by Adam Wiggins circa 2011. It’s a methodology for building software as a service application and these best practices are designed to enable applications to be built with portability and resilience when deployed to the web. You can easily find a lot of blogs Continue Reading

Parsing XML into scala case classes using xtract

Reading Time: 5 minutes In computing, Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It is one of the well-known data formats for transporting information from one system to another with reliability and convenience. It uses a tag-based format for composing data. In real-world data processing, we often come across XML data Continue Reading

MachineX: KNN algorithm using KSAI

Reading Time: 3 minutes Classification is a well-known area of machine learning. the K-Nearest neighbor algorithm is a simple algorithm that keeps all available cases and classifies new cases based on the similarity with existing cases. KNN has been used in pattern recognition as a non-parametric technique. in this algorithm, a case is classified by a majority of votes of its neighbors. if K=1 then the cases are assigned Continue Reading

Concept Learning: Find-S implementation with Scala

Reading Time: 5 minutes In our previous blog, we discussed the basic theory about concept learning with highlighting Find-S algorithm which is one of the basic algorithms of machine learning. In this blog, we are going to discuss how we can implement Find-S algorithm with one of the scalable and concurrent programming languages Scala. The machine learning algorithms can be implemented in several ways. The basic objective of this application is to Continue Reading

Concept Learning: The stepping stone towards Machine Learning with Find-S

Reading Time: 7 minutes From our previous blog, we came across what awesome stuff a machine can do with machine learning and what all math stuff is required before you take a deep dive into machine learning. Now we all know the prerequisites for machine learning, so let’s start the journey towards machine learning with small but effective steps towards awesomeness. Most of us always wonder how machines can Continue Reading

Finatra-swagger

Finatra-swagger: Making the api documentation awesome and easy

Reading Time: 3 minutes Apart from speed, high-performance, fault-tolerance and concurrency, one more most important feature for an api is a clean, precise, interactive and user friendly documentation. Documentation plays a very important role in a rest api. The interactive documentation makes api more easy and understandable. Finatra is fast, testable, Scala services built on Twitter-Server and Finagle, similarly Swagger is a well known api documentation framework. In this blog we are going Continue Reading

Sample akka dispatcher configuration

Reading Time: 2 minutes Akka dispatchers plays important role in application performance. After reading this blog you will be able to configure and use different dispatchers for your application. I have tried to make it as simple as possible so that you can easily start working on akka dispatchers. By default akka uses default dispatcher “fork-join-executor” if no configuration is defined for custom dispatchers. To set up a dispatchers Continue Reading

Knoldus Pune Careers - Hiring Freshers

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