dynamodb-lock-client
dynamodb-lock-client copied to clipboard
A general purpose distributed locking library built for AWS DynamoDB.
This is a continuation of https://github.com/tristanls/dynamodb-lock-client/pull/35 done by @bfraterman-tkhsecurity. Most of the work is done by @seketman over at https://github.com/trilogy-group/dynamodb-lock-client-v3.
Releasing of a lock could fail (putItem would fail the condition) when there was a heartbeat running at the same time. When the 2 calls to dynamoDB happen synchronously, the...
Hi @tristanls, I noticed that the library would throw `Validation` error if we provided `sortKey` config to the `FailedClosedClient`. This PR helps the issue by fixing the schema definition. Cheers...
Hello, This is a very nice lock client and I was looking to make use of it in a project that I was working on. However, because the APIs provided...
[@jepetko](https://github.com/tristanls/dynamodb-lock-client/pull/26#issuecomment-628468199): >The reason why I was using a real database is the higher confidence when writing DynamoDB statements. I already experienced bugs related to bad statements even with passing tests...
Distributed locks are non-trivial. Recordings help increase confidence that the correct thing is happening. [@simlu](https://github.com/tristanls/dynamodb-lock-client/pull/26#issuecomment-628588334): >I'd much prefer mocha as we could use node-tdd and we could easily use recordings...
And that's why it would be great to have at least _some_ tests :) We're working on a pr to fix this now...
- dev / master branch (consider using [gally](https://github.com/loopmediagroup/gally)) - consider using [js-gardener](https://github.com/blackflux/js-gardener) (or consider all the things it does and the improvements it brings) Example of a repo that enforces...