Skip to content

Comment on Show HN: My all-nighter project to find the best Google Reader alternative

Comments

How are you guys processing the tweets to show the results? Would love to know more about that.

We're using Ruby, Sinatra, HTTParty, Twitter Search API, Postgres, and Unicorn on a Heroku instance. Basically requesting the page pulls recent tweets from twitter matching the search '#replacereader', those tweets are checked against the DB to prevent dupe counting or multiple votes from one account, and new votes are added accordingly. Vote counts along with our list of replacements are pulled from the database and passed to a haml view, and unicorn caches page requests (including DB lookups and Twitter lookups) for 60 seconds to prevent exceeding APIs or Heroku's Postgres database limits.

THANKS!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.