Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An example Akka/Scala application on Heroku, created by Typesafe
Scala
tree: 0fa3f64610

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
common/src
indexer/src
project
web/src/main/scala/com/typesafe/webwords/web
.gitignore
Procfile
README.md

README.md

An example Akka/Scala application ready to run on Heroku.

Created by Typesafe, http://typesafe.com/

Overview

Unlike the usual "Hello, World" this example shows off quite a few different features of the Akka and Heroku platforms. There's a fair amount of code here, but of course you can zoom in and look at the part you care about.

The "point" of the app (if you can call it that) is to do a shallow spider of a web site and compute some information about it, namely word counts and a list of links found on the site.

The app shows:

  • how to use Akka to write a highly parallel application in functional style, as an alternative to java.util.concurrent
  • how to deploy it on Heroku including how to use addons and multiple processes

You can run the app using free price tiers from Heroku, MongoHQ, and RabbitMQ. You can also run it locally, of course.

A request step-by-step

If you follow an incoming request to the app, here's what the app shows you:

Build and deploy

The build for the app illustrates:

How to run it locally

FIXME

How to run it on Heroku

FIXME

Enjoy

Learn more about the Scala and Akka stack at http://typesafe.com/ !

Something went wrong with that request. Please try again.