Skip to content

Limit rate of solution processing #31

@dinoboff

Description

@dinoboff

The current implementation limit the number of concurrent verification but allow a new verifier to start as soon an other one stops. It's not flexible enough. Instead it be refactored to:

  • limit the number of concurrent verification per language; the python or node container are easier to run than the java.
  • limit the number of verifier per sec.
  • allow burst.

It could use a token bucket algorithm and require the java verifier to acquire more token before starting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions