Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Nov 22, 2011
  1. added top navbar selections; navigate to clicked nav city coordinates…

    Scott Burton authored
    … by looking up coordinates in a coordinates object; after navigating, stop tweet flow and wait until the map is loaded before starting tweets up again; added some boilerplate for browser geolocation
  2. move to a list-detail two-column view; add Twitter bootstrap; move

    Scott Burton authored
    CDN-hosted javascript libs inside;
Commits on Nov 21, 2011
  1. add conditional support for Firefox 7 websockets; test to see if webs…

    Scott Burton authored
    …ockets are supported at all, and disappoint the user if not
  2. Explicitly use the latest em-websocket, which adds better support for…

    Scott Burton authored
    … encodings; this should fix issues with Chrome and binary data
  3. remove old twitstream.rb

    Scott Burton authored
  4. twitstream is now tweetflow; updated logs and readme

    Scott Burton authored
  5. segment into three services: stream_client, persistence & websocket_s…

    Scott Burton authored
    …erver; stream_client pushes raw tweets onto a ZeroMQ PUB socket; use foreman to manage procs
Commits on Sep 1, 2011
  1. wait 800ms before sending a request for new tweets; only request enou…

    …gh tweets to replace whatever was removed from the screen; wait until map tiles are loaded before opening a websocket to request tweets
Commits on Aug 24, 2011
  1. Cache every tweet in a capped MongoDB collection; when a message arri…

    …ves via websocket with bounding box coordinates, query the last 10 tweets within those coordinates and send them down the socket; when the map has settled, the client removes any tweets not within the viewport, and declines to add any that are already in the collection
Commits on Aug 23, 2011
  1. Server-side viewport filtering:

     * When a client first connects, it sends its map bounds to the server. 
     * Each time the map bounds change, send new bounds to the server
     * When the server receives new bounds, it rebinds to the channel and sends only tweets within the bounds
    Added a server-side Tweet class to handle location filtering behavior.
Commits on Aug 21, 2011
  1. initial commit

Something went wrong with that request. Please try again.