Hacker News new | ask | show | jobs
by pla3rhat3r 3957 days ago
I should have been more clear. I was looking at how many API calls a typical app would make when gathering data. Is it in the hundred, thousands? On average. Or that too wide of a question to get an accurate metric?
1 comments

It's too wide of a question because of several reasons:

1. What do you count as an API request? Do you mean requests to "external" APIs? Or do you mean requesting content from the actual app server (e.g. Facebook loading timeline content)? Which API requests are you interested in?

2. What is a "typical app"? A game? A news reader? Twitter?

Even if someone could give you an answer that answer would most likely be irrelevant. API requests are a design choice. You can build the same app making 100 requests or 1 request for the same content. Both have tradeoffs.

Obviously it also depends on how much the user uses the app.

Thanks for the feed back Denny.

1. In this case an API request would be GET and POST of data.

2. I'm looking for a range here. And this is just gathering data from an app. So on the high end think Candy Crush. On the low end, your everyday lower tier app.

I recognize the API design is a choice, but in this case I'm looking to find out how many API requests would typically be made to gather data for the most popular app vs. an everyday run of the mill app.

Thanks again!