thenativeweb / node-cqrs-eventdenormalizer

Node-cqrs-eventdenormalizer is a node.js module that implements the cqrs pattern. It can be very useful as eventdenormalizer component if you work with (d)ddd, cqrs, domain, host, etc.
http://cqrs.js.org/pages/eventdenormalizer.html
MIT License
38 stars 27 forks source link

Increase DynamoDB performance #80

Closed Glockenbeat closed 5 years ago

Glockenbeat commented 5 years ago

So far any interaction with the DynamoDB tried to make sure that the table is existing, and if that is not the case it would create the table.

However as DynamoDB is an HTTP based API this would also always mean that an additional API request is done, increasing the time needed to handle request.

This PR makes sure that the table is only checked once for existence.

adrai commented 5 years ago

released in v1.16.3