S
S
Sergey Filnor2019-10-26 00:23:45
JavaScript
Sergey Filnor, 2019-10-26 00:23:45

How to stress test for uploading files via API?

Good afternoon.
Previously, I have not encountered such stress tests, tell me where you can look to solve the following problem:
Now we are making a project in which users need to upload N number of files to the server.
As usual, people upload files on the last day in the last hour, while the peak load can be about a thousand active users, where each will upload a pack of files of 30-50mb.
Actually, we want to check two options for the form:
1) When all files are loaded in one block
2) When each file is loaded separately
Each option has its pros and cons, but the most basic is performance. I'm afraid that the option when we load each file separately did not turn into a DDoS server at the peak moment.
Share your experience, which of the options would be more adequate and how to test the implementation of such a task in “laboratory conditions”?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2019-10-26
@filnor

There is load testing. Look in his direction, the implementation is very much.
For example, Yandex.Tank: https://yandex.ru/dev/tank/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question