简体   繁体   English

Dynamo DB 中的并行插入

[英]Parallel insertion in Dynamo DB

I have 3 clients.我有3个客户。 All of them want to insert items in the same database.他们都想在同一个数据库中插入项目。

Whenever a client sends a request,每当客户端发送请求时,

  1. I need to read the last entered record in ddb.我需要读取 ddb 中最后输入的记录。
  2. Increase its id by 1.将其 id 增加 1。
  3. Push this new request in the ddb with the increased id.使用增加的 id 在 ddb 中推送这个新请求。

What's the best aws based architecture to implement this?实现这一点的最佳基于 aws 的架构是什么?

What if there were 100 clients?如果有 100 个客户怎么办?

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

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