Author: Ayush Mishra

MeetUp on “BlinkDB and G-OLA: Supporting Continuous Answers with Error Bars in SparkSQL”

Big datasets are growing exponentially, but our needs to get quick interactive responses to our queries remain ever as important. This talk will feature an overview of various components in BlinkDB and introduce a new generalized online aggregation (G-OLA) paradigm in SparkSQL to incrementally process massive amounts of data on clusters of tens, hundreds or thousands of machines while returning approximate answers. More precisely, this Continue Reading

MeetUp on “An Overview of Spark DataFrames with Scala”

Knoldus is organizing an one hour session on 18th Nov 2015 at 6:00 PM. Topic would be An Overview of Spark DataFrames with Scala. All of you are invited to join this session. Address:- 30/29, First Floor, Above UCO Bank, Near Rajendra Place Metro Station,  New Delhi, India Please click here for more details.

Easiest Way to connect with Couchbase using Scala

In this blog, we have explained how easily we can connect with Couchbase, store and fetch data  using scala through an example. Tools and technologies used : SBT 0.13.8 Scala 2.11.6 Couchbase Server 4.0 Beta Eclipse JDK 1.7 Please follow below instructions to use this example:- 1) Install and configure Couchbase a) Download the couchbase server from here. b)  If you are using ubuntu, then Install the Continue Reading

Easiest Way To Insert Scala Collection into PostgreSQL using Slick

Few days ago, I had a scenario, in which I had to insert scala collection into postgreSQL using Slick. My postgreSQL table has some columns with data types such as Arrays, hstore  etc.. I tried to do this using slick, but didn’t get success. After beating my head whole day, I found a solution. I found a slick extension slick-pg, which supports following postgreSQL types:- Continue Reading

How to Implement Cross Cutting Concern using AOP in Scala

In this blog, I have explained that how easily we can implement Cross Cutting Concern such as logging using Aspect Oriented Programming in Scala. These concerns have nothing to do with core business logic. Aspect Oriented Programming is used for encapsulating cross-cutting concerns into re-usable modules. Here we used AspectJ weaver to weave precompiled aspects into project output First we defined an annotation style aspect Continue Reading

How To Implement logRequestResponse in Spray

Spray has the feature to log request and response of every route through logRequestResponse. We needn’t to add log in each route because it could be done from a single place. This also helps to maintain clean code. Please see below example:- class HubServices extends Actor with HubRoutes { def actorRefFactory: ActorContext = context // logs just the request method and response status at info Continue Reading

Building Reactive applications with Akka

Knoldus organized a Meetp up on Wednesday, 29 Oct 2014 at 5:00PM. Mr. Nilanjan Raychaudhuri from Typesafe presented this session on “Building Reactive applications with Akka”. He did the session remotely from Germany and it was very well accepted by the audience at the meetup. Nilanjan is a consultant/trainer and member of Play framework team. He works for Typesafe. He has more than 14 years Continue Reading

Easiest Way To Map Optional Nested Case Class with Slick in Scala

Few days ago, I had a scenario, in which I was supposed to map optional nested case class in slick using Scala. case class Employee(emdId:String,name: String, record: Option[Record]) case class Record(subject: String, mark: Int) I was trying to do this mapping the way, I have explained below. class EmployeeSlickMapping(tag: Tag) extends Table[Employee](tag, “Employee”) { def emdId = column[String](“emdId”) def name = column[String](“name”) def subject = Continue Reading

Solution for Riak 500 Internal Server Error

I am new to Riak and learning it. Few days ago, I got 500 Internal Server Error exception while inserting data in a Riak bucket. It was weird because I was able to insert same data in different bucket. I tried to find out root cause, but didn’t get success. After beating my head whole day, I posted it on Roak forum and stackoverflow. I Continue Reading

Weather Information System using Scala.Js and HTML

Scala.Js- a Scala to JavaScript Compiler. If you are developing your web application in Scala, you don’t need to sacrifice JavaScript interoperability. You can write your web application entirely in Scala. We have created a simple application “Weather Information System- Get the mood of your city on one click” using Scala.js and HTML. To use this application, pull the code from https://github.com/knoldus/ScalaJs_Weather_Report.

Finagle By Twitter Engineer @ Knoldus

This week, Puneet Khanduri, member of Twitter core engineering team, introduced us to Finagle in the MeetUp organized by Knoldus. It was a great session. We are thankful to Puneet. It was quite inspiring and appreciated by all attendees. Please find slide deck of this meetup.

Easiest Way to Implement Google Map in Scala.js

In this blog, I would explain how to implement Google Map in scala .js. If you are developing your web application in Scala and you want to write javascript functionality in Scala then you should go with scala.js. To implement Google Map in scala.js, please follow below steps:- 1) Add below code in your HTML file <script src=”https://maps.googleapis.com/maps/api/js”></script> <div id=”map_canvas” style=”height: 430px; width: 512px;”> 2) Continue Reading

Scala’s evolving ecosystem – Introduction to Scala.js

In this MeetUp, We introduced Scala.js as Scala’s evolving ecosystem. Scala.js- A scala to JavaScript compiler. If We are developing any web application in Scala, we don’t need to sacrifice javascript interoperability. Scala's evolving ecosystem- Introduction to Scala.js from Knoldus Software LLP

Knoldus Pune Careers - Hiring Freshers

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