-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
Milestone
Description
Estimate: __ weeks
The browser has a notion of worker queue that allows around 7-10 requests to be made at any given time. This can severely limit the number of requests that can be made.
A workaround is to BATCH HTTP requests.
Today Azure only supports batching HTTP GET requests. ARM provides a POST API
https://management.azure.com/batch?api-version=2015-11-01 where the user can batch upto 20 GET requests as a payload(request body) and ARM sends a response containing all of them in one response body.
We need to implement a simple debouncer that waits for 100ms or 20 GET requests (whichever happens first) and fires off a batch of calls.
Example: private repo to get an idea.