Scala

Spark with Spray Starter Kit

Reading Time: 3 minutes Over the last few months, Spark has gained a lot of momentum in Big Data world. It has won a lot competitions & surveys, like Daytona Gray Sort 100TB competition or becoming top level Apache Project and many more. Irrespective of whether it is a product which is a fast/general engine for large-scale data processing, Spark has found its use everywhere. The best part about Spark being that is it can Continue Reading

Getting started with ReactJS, Play 2.4.x, Scala, Anorm and WebJars

Reading Time: 2 minutes playing-reactjs This blog describes a basic example to render UI using React(A JavaScript library for building user interfaces) with Play 2.4.x, Scala, Anorm and WebJars. It also demonstrates the use of evolution in Play 2.4.x This is a classic CRUD application, backed by a JDBC database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, Continue Reading

Making GameLobby using Scala Graph library

Reading Time: 5 minutes Background A few months back, I chanced upon this nifty little library named scala-graph. This library provides some basic graph functionality and its APIs fit very well with standard Scala collection APIs. The graphs that it help create are in-memory data structures. It provides quite a number of ways and means to define, populate, manipulate and access directed and undirected graphs, along with edges which Continue Reading

Swagger With Play2

Reading Time: 5 minutes What is Swagger : Swagger is very powerful tool for REST API description and API documentation.Swagger API gives a Swagger GUI for humans to learn and test your API.It’s 100% open source.The goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters, and models are tightly integrated into the server code, Continue Reading

Gatling – SBT For Load Testing

Reading Time: 2 minutes Gatling is an open source load testing framework based on Scala, Akka and Netty and ready our self for load testing. Load testing is performed to determine a system’s behaviour under both normal and at peak conditions. The aim includes; High performance Ready-to-present HTML reports Scenario recorder and developer-friendly DSL Setup: 1. In project/plugins.sbt, add: addSbtPlugin(“io.gatling” % “gatling-sbt” % “2.1.6”) Also needs to add these Continue Reading

Mastering in Frontend : Getting Into Concepts – Part 1

Reading Time: 5 minutes All about AnguarJs, ReactJs, BackboneJs, JQuery and other libraries, from the intro to the actual concept.