akkadotnet / Akka.Management

Akka.NET cluster management, bootstrapping, and more.
Other
26 stars 11 forks source link

Lease: AWS S3 Object Locks #3

Open Aaronontheweb opened 3 years ago

Aaronontheweb commented 3 years ago

Is your feature request related to a problem? Please describe. We should add an Akka.Coordination Lease implementation that uses a n S3 Object Lock as a coordination mechanism.

Describe the solution you'd like A Lease that acquires an S3 Object Lock and quickly releases it, for use inside Akka.Cluster split brain resolvers et al.

Additional context Again, this feature is going to require some automated integration testing unfortunately. We can use a low-service-tier S3 plan and run it that way or perhaps we can use a local S3 emulator such as https://github.com/atlassian/localstack or https://github.com/spulec/moto/

ismaelhamed commented 3 years ago

Minio also has a S3 compatible API, and in fact it's used for the integration tests in the Alpakka S3 connector.