Concurrent writes to DynamoDB using transaction api -


we using dynamo db transaction api. in application doing concurrent writes (unique items) dynamo db. following exceptions

com.amazonaws.services.dynamodbv2.model.resourceinuseexception: cannot create preexisting table (service: null; status code: 400; error code: resourceinuseexception; request id: null)

also can batch save when using dynamo db transactions

any inputs helpful.

there's big difference between concurrent createtable calls , put/write calls. you'll error when you're calling createtable when exists.

you need have strict control on how/when create table. once table created, should have no problems doing concurrent writes using of put/write apis.

(keep in mind you'll still 4xx errors if conditional writes , condition fails.)


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -