Article
From 0 to 1 Million in 6 Hours
Having an office less than a block away from a protest that’s making international headlines gave us a unique opportunity: use our technology prowess to experience live events in a new way. So what did we do? We wrote a site using Rails, WebSockets, Heroku, MongoDB, and the Twitter Streaming API. In 6 hours.

The Pieces
We’re using heroku to host the site, although (with a few changes) it could be hosted as a static site on S3. The nice thing about heroku is the dead-simple deployment:
$ git push heroku
The next step was determining the persistence engine. We chose MongoDB for the flexibility to change the amount of data we store on-the-fly. Originally, we started using the ...continue reading