singpath / verifier

Pull verifier task from a Firebase queue and run them inside docker container
MIT License
1 stars 1 forks source link

Limit rate of solution processing #31

Open dinoboff opened 8 years ago

dinoboff commented 8 years ago

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:

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