[SAA + SAP] 22. Kinesis & AWS MQ

SAA

  • Shared 2 MB/sec, all shards shared 2MB/s
  • Enhanced: Per shard 2MB/sec

  • Max retiention 365 days
  • Can replay data
  • same partition goes to same shard

  • Serverless
  • Near real time

  • Each record 1MB max
  • S3 backup
  • Destionations: S3, Redshift, ElasticSearch

 

  • Stream can be replayed
  • Stream is realtime
  • Firehose can do transformation using Lambda

 

 

  • For SQS, use GroupId in order to group message together

  • Same patition key goes to same shard

Kinesis: max number of consumer = shard number

SISO: 100 GroupID = 100 consumers

 

 

  • STOMP, AMQP, MQTT protocols
  • Migrating application to cloud
  • Has Failover

  • Using EFS as storage

 

SAP

  • Kinesis data is automatically replicated synchronously to 3 AZ

  • Order at Shard level
  • You can merge shard / reshard

  • Producers
    • KPL for C++, Java
    • Kinesis Agent: can write to Data Stream and Kinesis Data Firehose
  • Consumers
    • KCL: Checkpoint, coordinated reads write to DynamoDB

 

  • You can put Source Records into S3
  • You can put transformation failures job into S3
  • You can put Delivery Failures job into S3

  • FIrehose is near real time because it has buffer
  • Max size for buffer is 32 MB, once reach that will flush buffer
  • Max time is 1 min
  • Buffer sizse can be automaticlly increase to increase throughput
  • If you need real-time flush, use Data streams with Lambda

 

posted @   Zhentiw  阅读(135)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2020-08-07 [XState] Parallel State and deep history state
2019-08-07 [Javascript] Create an Image with JavaScript Using Fetch and URL.createObjectURL
2019-08-07 [Flutter] Stack Layout
2019-08-07 [Algorithm] Find midpoint
2017-08-07 [D3] Create Chart Axes with D3 v4
2017-08-07 [D3] Margin Convention with D3 v4
2017-08-07 [D3] Better Code Organization with selection.call() with D3 v4
点击右上角即可分享
微信分享提示