Skip to content

yanns/play2-wiki-growth-sse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published