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

Worker Producer Queue for Apps #40

Open
schrieveslaach opened this issue Apr 20, 2020 · 0 comments
Open

Worker Producer Queue for Apps #40

schrieveslaach opened this issue Apr 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@schrieveslaach
Copy link
Contributor

When multiple builds of a feature branch of a microservice run in parallel most of the builds would fail because PREvant rejects the deployment requests with 409 Conflict. Instead PREvant could manage a queue of deployment (and deletion) requests and a background task works this off in order by removing a request from the queue and forwarding it to the infrastructure.

New subsequent request for the same app should be consolidated with requests that haven't been removed from the queue yet.

This approach enables PREvant to provide an async API so that HTTP clients to not run into HTTP timeouts anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant