繁体   English   中英

响应 DynamoDB 表更改的正确方法是什么?

[英]What is the proper way to respond to DynamoDB table change?

我在 AWS 学习期间从网上遇到了这个问题,想知道是否有人可以为我提供更多信息:

一家公司在 AWS 中设置了一个与 DynamoDB 交互的应用程序。 要求在 DynamoDB 表中修改项目时,立即对关联应用程序进行输入。 如何做到这一点? 从以下选项中选择 2 个答案。

A.  Setup CloudWatch to monitor the DynamoDB table for changes. Then trigger a Lambda function to send the changes to the application.

B.  Setup CloudWatch logs to monitor the DynamoDB table for changes. Then trigger AWS SQS to send the changes to the application.

C.  Use DynamoDB streams to monitor the changes to the DynamoDB table.

D.  Use an AWS Lambda function on a scheduled basis to monitor the changes to the DynamoDB table 

我认为 C 和 D 很好。

  1. DynamoDB 流来监控变化
  2. Lambda 适用于近实时
  3. CloudWatch 不够快
  4. AWS SQS 是队列。 应用程序需要拉消息 => 不快

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM