I've been playing with some of the APIs that have paged results.
I've been doing a first call with pagesize=0
to determine how many pages there are then running a loop querying each page.
In my case I've never needed more than 8 pages at once so far, but I'm wondering if I were playing with a bigger SE site or when my site matures and I needed to request many more pages, are there some limits I must respect?
How many simultaneous requests is OK? Should I put in occasional delays, doing smaller batches at a time? If so how long a delay, etc?
I'm also interested in looking how any Stack Exchange API frameworks might have already implemented methods to query all pages in such "friendly" ways.