Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 958 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 958 Bytes

play2-wiki-growth-sse

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.

How to run

Be sure you have sbt installed

sbt run