Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add endpoint in API server for query status of queue #11
Ability to check current queue status (for example current total pending request in queue, total capacity of queue, request per second) and exposing it as separate endpoint in API server.
This capability is useful for example, Developer can build monitoring application with main purpose is to periodically check this queue status. When queue almost full, it spawns new application instance/server automatically to handle additional load. When amount pending request in queue becomes lower, monitoring application can shutdown application instance to reduce resource.
First of all, thank you for this and the other comments and issues you've created, it's a motivation boost to continue with this project
The management API, while at the moment just sends and receive requests, could include the stats endpoint you've mentioned, but also configure in real time any Prack feature from another service.
This status endpoint is a really good starting point for the API. Thanks again!