This is a play2 application that demonstrates streaming and Server Send Events (SSE).
The source is a file containing coordinates of wikipedia articles, produced by Triposo
This file is parsed line by line, using Enumerators and Enumeratees. Each time a coordinate is found, it is send on the fly to the browser as Server Send Events.
The browser displays this coordinate on a map, showing how wikipedia has spread over the world.
The demo can be view online on Heroku. The code is explained on a blog post.
Be sure you have sbt
installed
sbt run