Currently, I am in the process of creating a user interface for a data importer using angularjs. The angular application will be processing the input data from a spreadsheet or another source and making GETs/POSTs to an API to manage records on the server and fetch updates.
When dealing with a large number of records being imported, opening up numerous ajax calls simultaneously may not be the most efficient approach. It's unlikely that Angular would be able to process all requests before the first one completes. To address this, I am considering implementing a connection pool to limit the number of ajax calls to a certain amount, such as 10 or 50 at a time.
Is there an existing feature in angular that allows for the throttling of ajax calls? While I am confident I could develop one myself, I would prefer not to reinvent the wheel if there is a more efficient solution available. Are there any recommended tools or plugins for this specific task? I am aware of some options for jquery, but I would like to minimize the use of jquery in this project if possible.