https://bugzilla.wikimedia.org/show_bug.cgi?id=40779

--- Comment #11 from Mark Bergsma <[email protected]> 2012-10-24 11:45:58 UTC 
---
I just fixed another issue. A typical request pattern for Firefox is:

#1 Request the entire video object (either as a normal request or as a Range:
bytes=0- request).
#2 Using the Content-Length information from #1, Retrieve the end of the video
to determine the video duration, as a Range request.

If #1 is a miss on the backend Varnish instance, it will start fetching the
entire file. On a big file this can take a while, say 30s or more. If #2 comes
in before the requested range is available, it would queue up and wait for #1
and thus also wait 30s.

I've now set req.hash_ignore_busy for high range requests, so cache hits
continue to work, but cache hits on *busy* objects (i.e. objects currently
being retrieved) do not. Thus, high range requests will go straight to Swift.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to