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

Upload locks on S3 #1183

Open
Acconut opened this issue Sep 6, 2024 · 0 comments
Open

Upload locks on S3 #1183

Acconut opened this issue Sep 6, 2024 · 0 comments

Comments

@Acconut
Copy link
Member

Acconut commented Sep 6, 2024

According to https://www.morling.dev/blog/leader-election-with-s3-conditional-writes/, it is now possible to implement a distributed lock on AWS S3 using conditional writes. Similar to how locks can be implemented on top of GCS: tus/tus-node-server#616

We should consider adding this capability to tusd, so users uploading to AWS S3 do not have to set up an additional locking mechanism. Of course, we have to consider S3-compatible interfaces as well, that do not support conditional writes (yet). Maybe we should provide an option to select the used locking implementation in the CLI.

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

1 participant