You need to sign in to do that
Don't have an account?

Maximum simultaneous ajax requests in Visualforce page
I need to make a lot of Ajax request in my VFPage so I made Ajax request in a for loop. But in network tab in chrome it looks like only 4 Ajax requests can be made at a time and rest of the request are queued. How can I increase that or is there another way to achieve the same.
Use the REST API to upload up to 2GB. You can read more about it in Insert or Update Blob Data (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm), found in the REST API documentation. Depending on what you're uploading, there are different parameters/headers/etc you may need. The examples are kind of lengthy, so I'm not including them here, but it should be pretty self-explanatory if you look at the documentation.
For further reference, you can check this blog too,
https://trungk18.com/experience/limit-the-number-of-simultaneous-ajax-requests/
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.