Closed Bug 1357614 Opened 8 years ago Closed 7 years ago

Throttle read from sockets/streams of requests belonging to background tabs

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1365307

People

(Reporter: mayhemer, Assigned: mayhemer)

Details

(Whiteboard: [necko-active])

One of active/background tabs prioritization bugs.

This would serve following purposes:
- give more bandwidth to the active tab
- preserve parallelism for background tabs
- lower CPU load for background tabs as parsers/decoders would get smaller chunks in longer intervals
Whiteboard: [necko-active]
Assignee: nobody → honzab.moz
Will this increase the priority of a channel started while the tab is in the background, but then focused before the channel completes?
Implementation notes:
- read small piece of data from a background socket
- call ResumeRecv() using a hearbeat timer (one for all is OK)
(In reply to Ben Kelly [not reviewing due to deadline][:bkelly] from comment #1)
> Will this increase the priority of a channel started while the tab is in the
> background, but then focused before the channel completes?

yes, definitely.
Blocks: 1362071
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
No longer blocks: CDP, 1362071
You need to log in before you can comment on or make changes to this bug.