HomeSoftware Heritage

simulator: refine origin model to follow an exponential distribution

Description

simulator: refine origin model to follow an exponential distribution

This models origins using a consistent characteristic "time between
commits" that follows an exponential distribution between 1 second and
10 years.

From this characteristic time, and feedback from the OriginVisitStats,
we can generate the expected run time and output status of the next
visit of that origin.

Details

Provenance
olasdAuthored on Jan 15 2021, 11:45 AM
vlorentzCommitted on Jan 20 2021, 5:37 PM
vlorentzPushed on Jan 20 2021, 5:47 PM
Differential Revision
D4856: Introduce scaffolding for a scheduler simulator
Parents
rDSCH2459badf0c05: simulator: Remove some debug statements and lower log level
Branches
Unknown
Tags
Unknown
Tasks
T2973: Implement a scheduler simulator
Build Status
Buildable 18555
Build 28703: test-and-buildJenkins console · Jenkins