3 ms·
I'm not sure how much this applies to dynamodb.. I think I couldn't even figure out how to get started with that. I used simpledb once as part of project. All
by justinsaccount 9y ago
I'm not sure how much this applies to dynamodb.. I think I couldn't even figure out how to get started with that.
I used simpledb once as part of project. All I needed it for was to store a small amount of state to be shared between some otherwise stateless ec2 instances. So, kind of the perfect use case.. Except I don't think it is made to scale down that small.
I don't know if I provisioned the capacity wrong or what, but it was so flaky. All I needed it to do was a few reads every few minutes.
I think my issue was I had the provisioned scalability set down to the smallest value I could because I only needed to pull down ~10 rows every 60 seconds or so.. But when the app would start and try to sync up, simpledb would throttle it?
I ended up having to just write a cron job to sync the db to a local json file, because doing the reads from inside my main loop would randomly fail or timeout.