Sometime my Ember app makes a lot of request per second to my server. There is a limit on requests per second on the server.
For example, 5 requests per second. So, when I make update to my 6 objects, Ember make 6 patch requests for the .save() function. 5 of them is ok, but 6th receives 503 error. How to avoid this?
- Is it possible to set limit of requests?
- Is it possible join 6 requests into one?
- Is it better to handle 503 error? For example, wait 1 second and repeat it? How it possible to do?
Thanks a lot for any help.