I have a video-based website. It gets slow when about 1k concurrent users watch/download a video.
I'm trying to debug it to see what resource is weak to increase it. I executed htop
command to see resource usage, but the server is over 50% free for both CPU and RAM when the page loading is too much slow (in that case, a simple webpage takes over 40sec to be loaded)
That's why I thought probably it's a bandwidth issue. Now all I'm trying to know is what happens when a video file is streaming/downloading by a client?
Note that, I have everything on the same server (backend/frontend/databases/video files)