I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size batch is at least 2 seconds. The amount of such batches is usually about 40 or 50. When it's less (25 or 30), I never get these 503s, only when it's about 45-50. I read the throttling policy in the docs and found that I have two things to keep in mind:
- not more than 30 req/s (I'm not hitting that for sure);
- service quota consumption (I have an API key and my daily usage is not more than 1000 requests);
I used to receive 400 responses before with descriptions of why I was being throttled. Now I receive just 503s and socket hung ups. Is it also a throttling policy or just some internal error? How to mitigate such behavior? Any help appreciated!