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

Interarrival as throttle #186

Draft
wants to merge 8 commits into
base: throttle_api
Choose a base branch
from
Draft

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    afbe576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84bfb08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd93b8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e60d9c View commit details
    Browse the repository at this point in the history
  5. Convert interarrival into throttle mechanism

    Have the controller simply requesting the user supervisors to start all
    the users at once, and then have each user process await for throttle
    permission.
    NelsonVides committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    513b3eb View commit details
    Browse the repository at this point in the history
  6. Asynchronously register users after interarrival throttle allows

    Unfortunately we cannot set the interarrival throttle to occur before
    the `proc_lib:init_ack/2` call because this would block the supervisor.
    
    This change also allows us to init processes completely asynchronously,
    as proc_lib is sync
    NelsonVides committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    0d11905 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    42d65c5 View commit details
    Browse the repository at this point in the history
  8. Increase test coverage

    NelsonVides committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    58f94c0 View commit details
    Browse the repository at this point in the history