sbt

Using Microsoft SQL Server with Scala Slick

This blog post shows simple CRUD operations on Microsoft SQL Server using Scala Slick version 3.2.3. You might be thinking what’s really great about it? Duh! But until Scala Slick 3.2.x was released, using commercial databases was within the horizon of an additional closed source package know as Slick Extensions which supported Slick drivers for following databases Oracle IBM DB2 Microsoft SQL Server   Library Continue Reading

Developers Needs SDKMAN Not Super-Man

Every developer has pain for setup development environment to his/her machine with lots of the setups. Sometimes, the pain goes beyond while we need to test same application on multiple versions of SDKs or virtual machines. If you are a Mac user, you have the best option called brew installer. But if you are Linux user, your pain is unpredictable. We are JVM stack developers Continue Reading

Cinnamon: Way For Monitoring & Metrics Generation for Akka ActorSystem

We are developing huge applications and deployed on multiple virtual machines and clusters. For monitoring applications, we need to enable logs into our application and analysis that logs with help of some tools like elastic stack. But !! what if we need to check health of application on virtual machines and clusters? For that, we are using several Metrics for system health check like Gauges, Continue Reading

Gatling Integration with Play

I have started working on a project which require stress testing using Gatling. I Setup the sbt project on which gatling is working fine. But when I try to integrate it using play framework, it doesn’t work. The project structure for both are different so it doesn’t work for both the project in the same manner. Your build.sbt should be  like this: import _root_.io.gatling.sbt.GatlingPlugin import Continue Reading

Getting Asynchronous in Scala : Part 2 (macro, reflection and Async library)

“Our patience will achieve more than our force.” – Edmund Burke The thought above tells about the beauty of being patient. One of the most important trait of a programming language is to be patient for the code segments to complete their execution asynchronously. In this blog we will continue with the Async library and some prerequisite associated with it. RECAP In first blog of Continue Reading

Scala Macros -An overview

OVERVIEW In this blog we will understand the basics of Macros and reflection. The main motive of the blog is to lay a foundation for better understanding of the the ‘Async library’. The ‘MAGIC’ of macros -> Macros can be called ‘special functions’ that are called by the compiler during compilation. These functions are special as using macros we can access the compiler API’s which Continue Reading

Getting Asynchronous in Scala : Part 1 (Future, Callbacks, Combinators etc.)

‘Only you can control your future.’ – Dr. Seuss The above quote has a great correspondence with this blog. In the blog we will discuss what are Future values and how we access them. During our journey we will be visiting,exploring and understanding following checkpoints :- 1). What are future (basics). 2). How to access them. 3). Basics about Macros. 4). The Async library in Continue Reading

Generating, visiting and unit testing grammar using ANTLR4 with Java and Scala

“Quality is free, but only to those who are willing to pay heavily for it” – T. DeMarco Now unit testing is not that heavy to pay off so lets start the blog. In this blog we will be continuing the voyage to the kingdom of ANTLR4 RECAP In previous blog we discussed how to test whether a string is grammatically correct or not using Continue Reading

Deploy a Spark Application on Cluster

In one of our previous blog, Setup a Apache Spark Cluster in your Single Standalone Machine, we showed how to setup a standalone cluster for running spark applications. But we never discussed on how to deploy our Spark applications on that cluster. So, in this blog, we will see how to deploy our Spark application on a cluster and use it to run our spark jobs. For Continue Reading

SBT and Github commands using Linux Cronjob for github project

When i was in the middle of my project I encountered a challenge to run sbt commands and github commands for my cloned project at regular intervals(say after every hour or two). When I looked up to the problem it seemed a bit challenging until I did not bump into Linux Cronjob(A time based job scheduler ). Alright, for those who do not know about Continue Reading

Using Spark , Spray and Couchbase for lightening fast REST Api’s

As we all know Apache Spark™ is a fast and general engine for large-scale data processing, and Couchbase is in-memory no-sql database. So by connecting these two we can get a lightening fast speed. In this blog we are focusing on how to make CRUD operations on couchbase with Spark’s speed. I am assuming that you have a basic Spark’s installation and couchbase installation on Continue Reading

Customized Response Time in Gatling Report

Gatling is a highly capable load testing tool which gives high performance. Some times we face problem in customization response time for our application. In this Blog we will analyse how can we customize response time in Gatling. In Global Information Section In graphical format,this Section Displays the Number of Requests captures in the given Load testing. Every requests are displays according to their Response Continue Reading

Using Spark DataFrames for Word Count

As we all know that, DataFrame API was introduced in Spark 1.3.0, in March 2015. Its goal was to make distributed processing of “Big Data” more intuitive, by organizing distributed collection of data (known as RDD) into named columns. This enabled both, Engineers & Data Scientists, to use Apache Spark for distributed processing of “Big Data”, with ease. Also, DataFrame API came with many under the hood optimizations Continue Reading

%d bloggers like this: