Kinesis Stream 和 DynamoDB 流之间的区别 [英] Difference between Kinesis Stream and DynamoDB streams

查看:28
本文介绍了Kinesis Stream 和 DynamoDB 流之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他们似乎对我做同样的事情.谁能给我解释一下区别?

解决方案

两者的高层次区别:

Kinesis Streams 允许您生成和使用大量数据(日志、Web 数据等),其中 DynamoDB Streams 是 DynamoDB 的本地功能,允许您以查看对 DynamoDB 表项的精细更改.

更多详情:

亚马逊 Kinesis Streams

Amazon Kinesis Streams 是 AWS 服务DynamoDB 是 AWS 的 NoSQL 选项,基本单位是存储数据的 tables物品.DynamoDB Streams 是一项功能,您可以打开该功能以在发生更改时以流的形式实时生成对 items 的所有更改.当您打开该功能时,您可以选择写入流的内容:

  • 仅键——仅修改项的键属性.
  • 新图片——修改后的整个项目.
  • 旧图片——整个项目,在修改前的样子.
  • 新旧图片——商品的新旧图片

DynamoDB 流通常用于复制或表审计.更多信息可以在关于DynamoDB 流的开发人员指南中找到.

如果您偶然发现 这篇文章先,上面说它们是相似的.它们是共享相似 API 调用的不同服务.

They seem to be doing the same thing to me. Can anyone explain to me the difference?

解决方案

High level difference between the two:

Kinesis Streams allows you to produce and consume large volumes of data(logs, web data, etc), where DynamoDB Streams is a feature local to DynamoDB that allows you to see the granular changes to your DynamoDB table items.

More details:

Amazon Kinesis Streams

Amazon Kinesis Streams is part of Big Data suite of services at AWS. From the developer documentation:

You can use Streams for rapid and continuous data intake and aggregation. The type of data used includes IT infrastructure log data, application logs, social media, market data feeds, and web clickstream data. The following are typical scenarios for using Streams:

Accelerated log and data feed intake and processing ...

Real-time metrics and reporting ...

Real-time data analytics ...

Complex stream processing ...

DynamoDB Streams

DynamoDB is the NoSQL option at AWS and the basic unit are tables that store items. DynamoDB Streams is a feature you can turn on to produce all changes to items as a stream in real time as the changes happen. When you turn on the feature, you choose what is written to the stream:

  • Keys only—only the key attributes of the modified item.
  • New image—the entire item, as it appears after it was modified.
  • Old image—the entire item, as it appeared before it was modified.
  • New and old images—both the new and the old images of the item

DynamoDB streams are commonly used for replication or table audits. More information can be found at the developer guide on DynamoDB streams.

I can see where you might have gotten confused if you stumbled across this article first, which says that they are similar. They are different services which share similar API calls.

这篇关于Kinesis Stream 和 DynamoDB 流之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆