E
E
Evgeny Malinovsky2020-01-28 09:03:00
API
Evgeny Malinovsky, 2020-01-28 09:03:00

How to send many axios requests without loss?

How can you send more than 500 requests to the server without losing data?

That is, a request is sent (from 150 to 500 in total), based on the data of which another 1 to 4 requests are sent (150 * 4 - 600 requests). When executing this algorithm, a 503 error occurs, or data is missing.

I think that it is possible to solve the problem with a delay between requests that are formed as a result of the main one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-01-28
@firedragon

I would look for errors on the server. 503 is clearly not normal behavior, and 600 requests is no load at all.
Is your service?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question