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

Transform UnipipeServiceBroker to Stateless Architecture #39

Open
DorukAkinci opened this issue Jun 21, 2021 · 1 comment
Open

Transform UnipipeServiceBroker to Stateless Architecture #39

DorukAkinci opened this issue Jun 21, 2021 · 1 comment

Comments

@DorukAkinci
Copy link
Contributor

DorukAkinci commented Jun 21, 2021

Our current Unipipe-service-broker solution needs a local storage to store the temporary git changes and then it merges(pushes) them into the remote repo. This cycle makes our OSB eventually consistent.

This solution does not handle temporary storages well enough and if we want to use Serverless services like (GCP Cloud Run) we should improve how our OSB works on the backend side.

The serverless approaches are so fast to initialize and it is also so cheap because it only costs when it is active.

We should consider a way to use cloud storages or some other solution.

@DorukAkinci
Copy link
Contributor Author

Additional Info: The CloudRun service sends a SIGTERM signal before shutting down the containers. Our application can handle these signals to gracefully shutdown itself.
https://cloud.google.com/run/docs/reference/container-contract#instance-shutdown

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

No branches or pull requests

1 participant