-
Hi. I have three ways to do it:
First variant sounds not bad, second variant is very RAM + CPU hungry at every request. Third variant is could be very RAM hungry if 10-20 file could be bigger than Is there any better way? Maybe any trick to use Linux |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Example repo is created and for very small files seems third variant is fastest and memory hungry |
Beta Was this translation helpful? Give feedback.
-
Serving itself slow task so caching less-sized files and streaming large files (100+ MB) is good solution if routing directly from uWebSockets.js, if not, using nginx is proper solution |
Beta Was this translation helpful? Give feedback.
Serving itself slow task so caching less-sized files and streaming large files (100+ MB) is good solution if routing directly from uWebSockets.js, if not, using nginx is proper solution