Skip to content

Comment on Hacker News Searchparent

Comments

HNSearch consists of a simple javascript webapp hosted at hnsearch.com which sends ajax requests directly to ThriftDB. ThriftDB returns items in the search response which makes it ideal for this type of architecture. For a more detailed explanation checkout the API docs:

http://www.hnsearch.com/api

And here's a sample search response from ThriftDB:

http://api.thriftdb.com/api.hnsearch.com/items/_search?q=fac...

So is HN data now being stored in ThriftDB? Or is it being replicated on your server? If so, what's the lag?

We wrote a crawler to download data from HN, parse it into JSON, and upload it to ThriftDB. The webapp at hnsearch.com sends requests directly to ThriftDB. There's a ~15min lag between HN and HNSearch.

AboutSource Built by g1lg1l

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