You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the 👍 reaction to show that you are interested into the same feature.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
Share a big video by link, in my test I use a 6GB mp4 video
Open the link in the browser, I use FireFox
Open the network tab of the browser to watch networking activity
Start top on the server to watch apache processes and server load
Start playing the video, then slowly pull the seek handle to the right
This produces lots of range requests and the same amount of apache processes serving one request each
If the serving processes don't monitor connection status then all of them read the video from the start point requested in the range request to the end of the file, producing a lot of load on the server.
The problem is worse if the client is on a relatively slow DSL connection
Describe the solution you'd like
Opening such a link, playing the video directly in the browser and then seeking in the video produces (lots of) range requests for the video file. This is okay, as the browser closes all the connections for range requests it is no longer interested in. But PHP does not care and the way the video was served resulted in all the requests reading the video to the end, producing a lot of load on the storage system and on the server itself for no good reason. Prevent this problem by checking connection status regularly.
Describe alternatives you've considered
none
Additional context
none
The text was updated successfully, but these errors were encountered:
How to use GitHub
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Opening such a link, playing the video directly in the browser and then seeking in the video produces (lots of) range requests for the video file. This is okay, as the browser closes all the connections for range requests it is no longer interested in. But PHP does not care and the way the video was served resulted in all the requests reading the video to the end, producing a lot of load on the storage system and on the server itself for no good reason. Prevent this problem by checking connection status regularly.
Describe alternatives you've considered
none
Additional context
none
The text was updated successfully, but these errors were encountered: