DevOps

Scala in Business | Knoldus Newsletter – November 2014

Reading Time: < 1 minute Hello Folks We are back again with November 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – November 2014 In this newsletter, you will get to know the popularity of Spark in big data. Spark is getting more attention in all over the world for fast data processing. People are getting much faster data processing speed with Spark. You will get to Continue Reading

Scala in Business | Knoldus Newsletter – October 2014

Reading Time: < 1 minute Hello Folks This time I got bit late due to the festival week in India. But i have some intresting stuffs for you only. We are back again with October 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – October 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Akka is Continue Reading

Scala in Business | Knoldus Newsletter – September 2014

Reading Time: < 1 minute Hello Folks We are back again with September 2014, Newsletter. Here is this Scala in Business | Knoldus Newsletter – September 2014 In this newsletter you will get to know how organizations are getting benefits by using Typesafe Reactive Platform, how Scala can be beneficial for you and what trends are going in industries. So, if you haven’t subscribed to the newsletter yet then make Continue Reading

Create a Public Google Doc via Google Drive API in Scala

Reading Time: < 1 minute In our earlier blog, we told about  “How to Create, Upload & Delete a Google Doc using Scala“. But the Google Docs that were created, had private access (by default), i.e., only the creator of Google Doc can access it. So, now we continue to add one more feature to it i.e., to Create a Public Google Doc via Google Drive API in Scala. With Continue Reading

A Simple Login Application in Node.js and MongoDB

Reading Time: < 1 minute Node.js, a software platform, built on google chrome runtime. It uses v8, the same run time environment, that google chrome uses. It is one of the best plateform to easily build scalable network applications(especially server-side). We have created Node.js Login Template with a nice User Interface. If you want to use Node.js as plateform and MongoDB as Database then this demo project can be used Continue Reading

Create Akka project (2.2.3) with latest sbt (0.13) and scala (2.10.3)

Reading Time: 2 minutes In this blog, i will explain that how to create Akka project with the latest sbt and scala. As we know, Now latest Akka version is 2.2.3, sbt is 0.13 and scala is 2.10.3 So lets start to create the project : First of all, install the latest sbt and scala on your system then create sbt project by following the below steps : First Continue Reading

Configure SSL on jetty server to run it with https

Reading Time: 2 minutes We can run our application with http as well as with https. We use https for secure communication over the computer network. Technically, https is not a protocol in and of itself; rather, it is the result of simply layering the Hypertext Transfer Protocol (HTTP) on top of the SSL/TLS protocol, thus adding the security capabilities of SSL/TLS to standard HTTP communications. In this blog, Continue Reading

Running standalone Scala job on Amazon EC2 Spark cluster

Reading Time: 2 minutes In this blog, I would explain how to run a standalone Scala job on Amazon EC2 Spark cluster from local machine. This is a simple example to process a file, which is stored on Amazon S3. Please follow below steps to run a standalone Scala job on Amazon EC2 Spark cluster: 1) If you have not installed Spark on your machine, please follow instructions from Continue Reading

Building Apache Spark with Scala 2.10

Reading Time: < 1 minute As we know, Spark is a Map-Reduce like cluster computing framework, designed to make data analytics fast. In the official website of Spark, latest release is Spark 0.7.3. But this release requires Scala 2.9.3. If you are using Scala 2.10, this release would not work. Since Spark has not announced any Scala 2.10 compatible release yet, so to build Spark with Scala 2.10, you have Continue Reading

KnolX Session: Testing Akka Actors Using TestKit

Reading Time: < 1 minute In the presentation which is the part of our ongoing Knolx session, we discussed about how to test Akka actors using Testkit. By using testkit we can test Actor’s behaviour, apply time assertions on actor’s reply and we can also do integration testing of actors. We also discussed how to use TestProbe to test actors which are supposed to send messages to different destinatations.   Continue Reading

Efficiently using Session & Flash in Play framework

Reading Time: 2 minutes Play framework is being the love of every Scala developer now a days. In this post we’ll learn about using Session & Flash scopes in Play framework. Play has a stateless architecture so in order to keep the data across multiple HTTP request we can use Session & Flash. Session and Flash data are not stored by the server but are added to each subsequent Continue Reading

Google Apps Script : Getting profile information for users in a Google Apps domain

Reading Time: 2 minutes The Profiles Data API allows client applications to retrieve and update profile information for users in a Google Apps domain. Each user profile is stored in the owning user’s Google Account, but it can be modified only by an administrator of the user’s domain. So what we are going to do, we will fetch user’s profile information from an admin account. For this, we will Continue Reading

URL shortening with bit.ly in Scala

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