Closed Bug 1607259 Opened 5 years ago Closed 5 years ago

Allow configuring the maximum number of running processes

Categories

(Core Graveyard :: Web Replay, enhancement)

enhancement
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(1 file)

The replay control logic has a priority queue which it uses to make sure there are never more than 4 replaying processes operating simultaneously. A fixed number like this isn't appropriate going forward, especially with cloud replay --- the remote machine could have many cores available (up to 96 with AWS) and be able to run many processes simultaneously. The remote machine should be able to inform the control logic how many processes it can spawn, which is simple to do when the remote replaying process reaches the first checkpoint and finishes its primordial manifest. The replaying process can determine this count by querying an environment variable which the cloud service has set. This design also allows the number of processes to be reconfigured when locally replaying, though that will probably only be useful for testing.

Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/42a08cd066dc Allow configuring the maximum number of running processes, r=jlast.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: