简体   繁体   English

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

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

I came across this question from online during AWS study and wonder if anyone can shed me with more light:我在 AWS 学习期间从网上遇到了这个问题,想知道是否有人可以为我提供更多信息:

A company has setup an application in AWS that interacts with DynamoDB.一家公司在 AWS 中设置了一个与 DynamoDB 交互的应用程序。 It is required that when an item is modified in a DynamoDB table, an immediate entry is made to the associating application.要求在 DynamoDB 表中修改项目时,立即对关联应用程序进行输入。 How can this be accomplished?如何做到这一点? Choose 2 answers from the choices below.从以下选项中选择 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 

I think C and D are good to go.我认为 C 和 D 很好。

  1. DynamoDB streams to monitor the changes DynamoDB 流来监控变化
  2. Lambda is good for near-realtime Lambda 适用于近实时
  3. CloudWatch is not fast enough CloudWatch 不够快
  4. AWS SQS is Queue. AWS SQS 是队列。 Application need pull message => not fast应用程序需要拉消息 => 不快

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

相关问题 AWS DynamoDB 表中的正确分区键 - Proper partition key in AWS DynamoDB table 什么决定了 DynamoDB 表中的分区数? - What decides the number of partitions in a DynamoDB table? 保存 dynamoDB 表的最佳文件格式是什么? - What is the best file format to save dynamoDB table? 有没有办法根据选择的类别更改 js 表中按钮的文本和功能? - Is there a way to change text and functionality of the button within the js table depending on what catergory is selected? 在 CLI 中创建 DynamoDB 表 - Creating DynamoDB Table in CLI 在 DynamoDB 中更新批量数据而不是扫描和查询的最有效方法是什么 - what is the most efficient way to update bulk data inside DynamoDB rather than scan and query 为 dev_appserver 导入 python 模块的正确方法是什么? - What is the proper way import python modules for dev_appserver? 在 Angular 中组合可观察数据的正确方法是什么? - What's The Proper Way To Combine Observable Data In Angular? 考虑到 MVC 方法,从 Firebase 读取值的正确方法是什么? - What is the proper way to read values from Firebase considering the MVC approach? 我应该提供什么以及如何配置 Terraform 远程 state S3 存储桶和 state 锁定 DynamoDB 表? - What and how should I provision Terraform remote state S3 bucket and state locking DynamoDB table?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM