Insights and perspectives to keep you updated.

Knolx Sesion: Akka 2.0 Reloaded

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

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 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

Quick Tip : Pagination in MongoDB using Scala

Here is the example of how you can do Pagination or Paging in MongoDB using Scala. /* * Pagination For messages */ def getAllMessages(pageNumber: Int, messagesPerPage: Int): List[Message] = { val messsagesRetrieved = MessageDAO.find(MongoDBObject()). skip((pageNumber – 1) * messagesPerPage).limit(messagesPerPage).toList messsagesRetrieved } Note :- 1. pageNumber : Page No. like 1st Page , 2nd Page and so on. 2. messagesPerPage : No of messages to be Continue Reading

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

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

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

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

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

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

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

Harnessing the Power of Nutch with Scala

Knoldus was recently speaking at the IndicThreads conference in New Delhi, India. Here, we talked about Nutch and how easy it was for us to integrate it with Scala and build a scalable web crawler with less than 900 lines of code. The case study and the demonstration made the attendees aware of the power of Scala as a language of choice.

Storing files on Amazon S3 using Scala

Amazon S3 serves the purpose of “storage for the Internet” . S3 stand for ” Simple Storage Service”. Amazon S3 can be used for storing and retrieving any amount of data at any time, from anywhere on the web. You can use simple interface “AWS Management Console” provided by Amazon for creating buckets for storage , adding files in those buckets and for many other Continue Reading

Knoldus Pune Careers - Hiring Freshers

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