Live data from Hacker News

Ask HN: How fast can you hit all 34M items in Hacker News Firebase API?

news.ycombinator.com

1–6 of 6 posts

Ask HN: How fast can you hit all 34M items in Hacker News Firebase API?

#1
This could be a nice benchmark for a http client. I wonder if anybody with experience with reqwest in Rust could chime in. Currently using aiohttp I can get around 1k requests/s from the Hacker News API, which means it will take around 9 hours to get all the items....

Re: Ask HN: How fast can you hit all 34M items in Hacker News Firebase API?

#5
That depends entirely on your network latency and connection speed, doesn't it? I think a better benchmark for a client would be generating pages/threads, because HN's data structures are so suboptimal for that even HN itself sometimes has trouble with it. So take a super long thread like https://news.ycombinator.com/item?id=12907201 and see how long it takes to render it fully.