Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support snapshotting simulated workloads #113

Merged
merged 3 commits into from
Oct 31, 2022
Merged

Commits on Oct 31, 2022

  1. feat(sim/flow): Support synchronous update of FlowStage

    This change adds a new method to `FlowStage` called `sync()` which
    enables users to synchronously update the stage at the current
    timestamp.
    
    This functionality is neccessary to support snapshotting since we need
    to synchronize the state of the `FlowStage` before creating a snapshot
    of the workload.
    fabianishere committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    9528caf View commit details
    Browse the repository at this point in the history
  2. refactor(sim/compute): Report exceptions in onStop as suppressed

    This change updates the implementation of `SimMachineContext` to report
    exceptions thrown in `onStop` as suppressed exceptions if an exception
    caused the workload to stop.
    fabianishere committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    587a5af View commit details
    Browse the repository at this point in the history
  3. feat(sim/compute): Add support for snapshotting workloads

    This change updates the interface of `SimWorkload` to support
    snapshotting workloads. We introduce a new method `snapshot()` to this
    interface which returns a new `SimWorkload` that can be started at a
    later point in time and on another `SimMachine`, which continues
    progress from the moment the workload was snapshotted.
    fabianishere committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    c9750e5 View commit details
    Browse the repository at this point in the history