Author: Sahil Sawhney

Monitoring Akka based applications with Cinnamon and DataDog

Reading Time: 5 minutes Application monitoring is an important part of software development life cycle and aims to check if the application is performing as expected or not. With applications becoming Reactive, having distributed architecture and industry moving towards Fastdata, there is a great urge in the market for tools and integrations that could provide cutting edge monitoring facility for the application deployed in the production. In this blog Continue Reading

PostgreSQL Cheat Sheet : Basics

Reading Time: 3 minutes In this blog I have listed some of the basic commands like installing PostgreSQL, creating user and databases for PostgreSQL etc. CRUD with PostgreSQL is not the focus of this post. All the commands are tested in Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. There may be some other richer ways to perform the operations mentioned in this post but my focus was to keep the Continue Reading

Scalafmt – Styling The Beast

Reading Time: 4 minutes “I have never seen elegance go out of style” – SONYA TECLAI Scala (The Beast) has imported efficiency and elegance to the programming world by combining coziness of object oriented programming with the magic of functional programming. This blog illuminates the work of Ólafur Páll Geirsson who has done a great job of styling the beast. In the bulk below I will discuss my experience Continue Reading

Installing and running Kafka on AWS instance (CentOS)

Reading Time: 3 minutes In this blog we will install and start a single-node, latest and recommended version of kafka ie 0.10.2.0 with the binary for Scala 2.12 on the EC2 Linux instance with centOS as its operating system. We would be using the t2.micro (free tier) instance which comes with 1 GB RAM and 8 GB SSD. Prerequisite -> 1). Create an EC2 instance -> Steps for creating Continue Reading

Deploying a 2 node Elasticsearch cluster on ec2 instance.

Reading Time: 4 minutes In this blog we will focus on two major things : 1). Steps required to create a two node elasticsearch (v5.2 released on 31.Jan.2017) cluster on Linux instances (with CentOs as the default OS). 2). Attaching additional volume to the instances and making changes in elasticsearch configurations so that all the elasticsearch related data will be stored on the mounted volumes, since the default storage Continue Reading

Introduction To Quasiqoutes

Reading Time: < 1 minute Hi all, Knoldus had organized an hours session on 16th December 2016 at 4:00 PM. Topic was Introduction to Quasiqoutes. Many enthusiasts  joined and learned from the session. I am  sharing the slides of the session here. Please let me know if you have any question related to linked slides.

Hotfix To Install Latest Oracle JDK On Linux EC2 Instance (CentOS)

Reading Time: 2 minutes In this blog we will explore the procedure to install latest java 8 version ie JDK 8u121 (released on 17th January, 2017) on the EC2 Linux instance which comes with centOS as its default operating system. Following steps must be followed sequentially : Step 1 -> Ssh to your instance Refer Step 4 of this blog to ssh to your instance. Step 2 -> Check Continue Reading

Mounting EBS(Elastic Block Store) volume to EC2(Elastic Compute Cloud) instance.

Reading Time: 3 minutes In this blog we will consider simple steps by which we can attach and mount a volume(elastic block store) to an ec2 instance. Following steps must be followed : Step 1 -> Creating an ec2 instance We will be creating a Linux instance (m4.large) which comes with Cent OS as the default operating system. Steps of creating an instance are clearly mentioned in official amazon docs, Continue Reading

Mailchimp and Mandrill- The ‘ Hominidae’ kingdom

Reading Time: < 1 minute Hi all, Knoldus had organized an hours session on 9th December 2016 at 4:00 PM. Topic was Mailchimp and Mandrill- The ‘ Hominidae’ kingdom in Scala . Many enthusiasts  joined and learned from the session. I am  sharing the slides of the session here. Please let me know if you have any question related to linked slides. You can also watch the video below…

The async library in Scala

Reading Time: < 1 minute Hi all, Knoldus had organized an hours session on 18th May 2016 at 4:00 PM. Topic was The async library in Scala . Many people had joined and learned from the session. I am  sharing the slides of the session here. Please let me know if you have any question related to linked slides. You can also watch the video below…

String Interpolation In Scala

Reading Time: < 1 minute Hi all, Knoldus had organized an hours session on 18th May 2016 at 4:00 PM. Topic was String Interpolation in Scala . Many people had joined and learned from the session. I am  sharing the slides of the session here. Please let me know if you have any question related to linked slides. You can also watch the video below..  

An Invitation From Scala String Interpolation

Reading Time: 6 minutes “Every generation needs a new revolution.” – Thomas Jefferson This blog narrates the tale of an awesome change that was introduced in Scala 2.10 that made life of a Scala programmer repose and the change was the introduction of “String Interpolation” which is a mechanism that enables to embed or bind a variable references(our simple vars and vals) or a result yielding expressions(like match case, if-else, Continue Reading

Customizing String Interpolation – An Example

Reading Time: 4 minutes OVERVIEW This blog is continuation of – ‘An Invitation From Scala String Interpolation‘. Here we will explore how to define a custom string interpolator. OBJECTIVE In this blog the custom interpolator being designed works exactly like the ‘s interpolator’ with an extra ability to write the “post interpolation content” into a file and finally returning the status message whether the file write was successful or Continue Reading