API Gateway integration with DAX

0

Is there a way to use a service integration from API Gateway (REST) for DAX?

I know we can use a service integration for DynamoDB, but DAX is supposed to be a transparent replacement with respect to the API.

Seems like a big waste to reintroduce a Lambda in between just because I want to add caching, and this goes against the 'Servicefull' best practice.

2 回答
0

I don't think it's going to be possible as DAX is deployed inside a VPC so even if it would be possible to call DAX directly from API gateway, it would be possible only for Private REST API.

If you don't use DAX for anything else, you could still implement the caching at rest Api level instead of using DAX

Miki
已回答 2 年前
0

There isn't a way to achieve this without using a Lambda in between, that too a VPC Lambda which could very well defeat the purpose of using a caching system to reduce data access latencies. Using DynamoDB directly may be a better option here and using APIGW caching if applicable.

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则