简体   繁体   中英

what is the limit of concurrent put requests for one table in AWS DynamoDB

Based on the documentation it says that:

CreateTable/UpdateTable/DeleteTable In general, you can have up to 50 CreateTable, UpdateTable, and DeleteTable requests running simultaneously (in any combination). In other words, the total number of tables in the CREATING, UPDATING, or DELETING state cannot exceed 50.

 The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at

a time. However, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.

BatchGetItem A single BatchGetItem operation can retrieve a maximum of 100 items. The total size of all the items retrieved cannot exceed 16 MB.

So I want to know if this means that I've only 25 request per table or this is just the case when I use BatchGetItem

There is no relevant limit on the rate of PutItem API call itself.

The limits that play a part stem from the write capacity units (WCUs) on your table. As long as you have enough write throughput (ie WCUs) available, PutItem will work.

You decide how many WCUs you provision for your table via provisioned throughput or on-demand capacity.

Each WCU allows you to write 1KB per second to the table. Unused WCUs are also buffered for up to 5 minutes, so you can burst a little.

If you go past your WCUs, you'll get a ProvisionedThroughputExceeded error, which is not a rate-limit, but the aforementioned throughput limit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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