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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인