Last modified: 2013-05-05 01:52:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41607, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39607 - Upload Wizard: User preference for concurrent uploading
Upload Wizard: User preference for concurrent uploading
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nischay Nahata
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-24 02:23 UTC by Erik Moeller
Modified: 2013-05-05 01:52 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Erik Moeller 2012-08-24 02:23:34 UTC
At least one user has noted that the concurrent uploading of multiple files saturates his Internet connection and slows down his overall Internet access unacceptably when making a large batch upload.

In addition to the site-level configuration to define the number of maximum simultaneous upload requests, it may be useful to add a user preference for concurrent uploading to empower users of slower Internet connection to turn off this future.
Comment 1 Brion Vibber 2012-08-24 23:58:41 UTC
How much benefit do we get from concurrent uploads?

We might consider simply always uploading sequentially, or at most two simultaneous uploads so we get "full speed" on the other channel during the connection setup phase.
Comment 2 Mark Holmquist 2012-08-25 20:55:24 UTC
This is currently a server-side config setting, Brion, so any server can decide to only allow one concurrent upload (sequential) or two (like you suggested) or five hundred (potentially an issue).

Adding an extra user preference and using the lowest between the server config and the user preference shouldn't be altogether too difficult.
Comment 3 Erik Moeller 2012-08-27 22:42:10 UTC
I don't think anyone's really done a formal evaluation of the performance benefits - it would be nice to at least do some more crowdsourced before/after comparison for batches to see what the benefits of the feature are. That, too, would be easier if it was a user preference. ;-)
Comment 4 Mark Holmquist 2012-08-27 22:47:00 UTC
FWIW, I got someone in IRC saying that this user preference would be nice for folks with really slow connections....

http://bots.wmflabs.org/~petrb/logs/%23mediawiki/20120826.txt

Search for "Juandev" and you'll get the start of the conversation.
Comment 5 Nischay Nahata 2013-03-09 15:14:40 UTC
https://gerrit.wikimedia.org/r/#/c/52981/
Comment 6 Mark Holmquist 2013-04-23 21:30:08 UTC
Reviewed, merged!
Comment 7 Erik Moeller 2013-05-05 01:52:09 UTC
There's something wonky about how the preference gets added, which likely caused bug 48090. The preference itself is actually not changeable (try changing it to a different value), and mw.user.options.get('upwiz_maxsimultaneous') returns null.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links