[jhw] DynamoDb Local support #11
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It's possible to run DynamoDB locally (see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html). Just needed to be able to pass in an override to the default Endpoint calculated for the AwsClient.
I was looking into supporting DAX with this change, but although the documentation for DAX makes it seem like "it's the same API as Dynamo, it's a write-through cache", DAX actually uses a binary protocol (CBOR) over TCP, and the C# implementation is not openly available as far as I can tell. The GO one is, and it's pretty clear this would not be a small undertaking, so I don't plan on doing it anymore. https://github.com/aws/aws-dax-go