Page MenuHomePhabricator

Allow for files to have different URLs depending on type (for video streaming & range handling)
Closed, ResolvedPublic

Description

More detail later.


Version: unspecified
Severity: normal

Details

Reference
bz39016

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:55 AM
bzimport set Reference to bz39016.

In bug 36577, we discovered that Varnish doesn't currently do well with streaming large files.

Tim wrote in an email conversation on this subject:

We could probably patch MediaWiki to use a different upload hostname
for large files. The image row should already be loaded from the cache
or database in all the relevant places, so there shouldn't be any
overhead. Then we could use Squid or some specialized media streaming
proxy for large files.

...to which Asher replied:

This sounds like a good idea even if varnish becomes the right solution for
all of our caching needs. We may want to select dIfferent storage for video
caches, and we should be able to cache videos above swift without
potentially evicting many images.

This bug is about implementing this idea.

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:21 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:22 AM