3 ms·
This is interesting. The direct integration got slower as concurrency increased. The author didn't list the dynamo db table settings, but this could be caused b
by rcme 3y ago
This is interesting. The direct integration got slower as concurrency increased. The author didn't list the dynamo db table settings, but this could be caused by insufficient read capacity. Instead of failing immediately, I believe the default DynamoDB client implementation is to back off and retry the read. This reduces errors at the expense of latency.
- switchbak 3y agoIt also seems that this direct integration would only be suitable for a limited number of (very simple) use cases. Not to mention it'd prevent you from leveraging some form of caching which ought to be factored in.
- bilalq 3y agoI don't know about API Gateway specifically, but AWS AppSync (their managed GraphQL) supports the same VTL based direct integration. Using a direct integration does not prevent you from using their managed cache solution (which uses ElastiCache under the hood).