Quantcast
Viewing all articles
Browse latest Browse all 4826

Limit on http requests

@xmod wrote:

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?

  1. Is it possible to set limit of requests?
  2. Is it possible join 6 requests into one?
  3. 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.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles