Answer the question
In order to leave comments, you need to log in
Which solution to choose for simultaneous download of large files?
Hello.
The main application is written in Rails. Users can upload large files (up to 700 megabytes).
How to organize simultaneous download of files so that the site (main application) continues to work?
Let's say 50-100 people can load at once. Not a very large number, but there won’t be enough puma threads for everyone, and the site will stop working :)
There was an idea to use a node for this, but I remember that it’s good to use a node for fast and small tasks (it didn’t work closely with a node, so, several small applications for adding comments and other small tasks)
Please tell me :)
Answer the question
In order to leave comments, you need to log in
Well, if you are talking about a node, then you obviously have a reverse proxy, so let it load.
You can use the node because of its asynchrony, but there is one thing. If one core of your CPU cannot fully utilize the performance of your storage (hdd / ssd), then it will be idle and then you need to run several instances of the node.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question