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

Help with some downtime #616

Open
ArpStorm1 opened this issue Mar 17, 2024 · 1 comment
Open

Help with some downtime #616

ArpStorm1 opened this issue Mar 17, 2024 · 1 comment

Comments

@ArpStorm1
Copy link

Hello everyone!
I wanted to ask - is this possible to combine two operations?

For example, let's say we have 2 buckets, Bucket A and Bucket B.

I want to make bucket A as read only, but on the other hand - to redirect all the write requests to bucket B. Then, when a client want to read, it checks if the file exist on bucket B, else - it would return the result from Bucket A.

Is this kind of behavior even possible?

@gaul
Copy link
Owner

gaul commented Apr 1, 2024

Detecting failures is one hard part about this -- systems often fail by being slow or emit HTTP 501 or similar errors. It is a lot easier to redirect requests. Instead of S3Proxy itself detecting this, could an external process detect failures then tell S3Proxy to dynamically change its configuration?

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

No branches or pull requests

2 participants