Knolx Sesion: Akka 2.0 Reloaded

Reading Time: < 1 minute Akka allows us to write concurrent, fault tolerant and scalable applications. We recently migrated our product from Akka 1.3x to Akka 2.x. The new version is quite different from 1.3x versions. It is not merely an API change but an overall change. We have to also think differently to develop applications. This session was presented at Knolx Session at Knoldus. This talk gently introduces Akka Continue Reading

Parallel Collections in Scala

Reading Time: < 1 minute As multi-core becomes a standard, writing code which can harness the power of the cores remains a formidable challenge. The following KnolX session, tried to decode how scala is trying to give us an advantage by providing us parallel collections. It also discusses, which scenarios lend themselves to parallel processing and discusses the pitfalls of others.

Style Guide for Scala

Reading Time: < 1 minute Reading Scala code is easy once you get used to it. However, it is always good to have a well defined set of guidelines so that the code which is readable for an individual is also readable by the other person as well as maintainable by the client. At Knoldus, we strive to write code which is clean and beautiful. At one of the Knolx Continue Reading

Providing a “Sign-in with Google” functionality using Scala

Reading Time: 4 minutes Continuing our series on providing authentication via third party OAuth/Open ID providers, in this post we look at Google. We have already covered sign in with Facebook and Sign in with Twitter in the past. We walk through a step by step scenario to make it work for a Lift based application. Most of the steps would be the same for Play as well. 1) Continue Reading

Working with Play framework using Scala and MongoDB

Reading Time: 2 minutes Scala : Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. More… Play Framework : Play 2.0 is a high-productivity Scala web application framework that integrates the components and APIs you need for modern web application development. Play is based on a lightweight, stateless, web-friendly architecture. More… MongoDB : MongoDB is a scalable, high-performance, Continue Reading

Providing a “Sign-in with Facebook” functionality using Scala

Reading Time: 7 minutes Recently we have integrated “Sign in with Facebook ” functionality in one of our social project that we are building with Lift 2.4 . This post summarizes the work done step by step. 1) Create a Facebook App (if you do not have one already) Follow the link and create an app. Enter all the details including Site URL . The Site URL could Continue Reading

URL shortening with in Scala

Reading Time: < 1 minute Short URL’s are becoming the need of most of the application. We’ve used the for the URL shortening in our application. Just a little bit work to do for achieving the URL shortening with Here are the steps to do that : You should have the following credentials in order to call the API. i. apiKey : You’d get it on registering Continue Reading

Executing Lift Examples with SBT 0.11.3 and Eclipse

Reading Time: 2 minutes Recently we got our hands back on a Lift project after some time. A few of our clients had already moved from Lift to Play due to various reasons and one of them seemed to be dismal (read valid) documentation. There seem to be decent information like and along with the book Lift in Action. But most of these resources seem to be Continue Reading

Building Massively Scalable Applications with Akka 2.0

Reading Time: < 1 minute Recently Knoldus, presented at the IndicThreads conference, New Delhi on the power of Akka 2.0. The case study involved a demonstration on how a major white goods company is able to analyse their social feeds in real time and respond back to customers needs. The solution currently runs on a cluster of 40 nodes with 16 cores on each node. The presentation emphasized on the Continue Reading