Closed jhemmmm closed 1 year ago
If you request a manifest (m3u8) and the video metadata is already in cache, the server can build the response without reading anything from upstream and you get 200. If what you meant is that segment requests are failing when there is a problem with the upstream, and not using the fallback - this makes sense. This feature was developed to handle cases where the video file is missing, it wasn't built to handle upstream unavailability. Consider, for example, a multi-datacenter setup where a video is uploaded to one datacenter. It takes time until it is synched to the other datacenters, and during this period a request may arrive to a datacenter that doesn't have the file yet. This is where the fallback feature can help, by proxying the request to a server that has the video.
If you request a manifest (m3u8) and the video metadata is already in cache, the server can build the response without reading anything from upstream and you get 200. If what you meant is that segment requests are failing when there is a problem with the upstream, and not using the fallback - this makes sense. This feature was developed to handle cases where the video file is missing, it wasn't built to handle upstream unavailability. Consider, for example, a multi-datacenter setup where a video is uploaded to one datacenter. It takes time until it is synched to the other datacenters, and during this period a request may arrive to a datacenter that doesn't have the file yet. This is where the fallback feature can help, by proxying the request to a server that has the video.
That makes sense. That problem I was having was an upstream problem when the upstream URL got automatically closed for some reason like an internal server error.
Hello,
I have been having an issue with remote fallback.
Enabling the vod_metadata_cache, even if the request from the remote URL has a problem it still returns 200 return code.
Causing the remove fallback wont work.