# Using SQS to Throttle Writes to DynamoDB

DevFeed: [Using SQS to Throttle Writes to DynamoDB](<https://devfeed.tech/articles/using-sqs-to-throttle-writes-to-dynamodb-18018.md>)

Original publisher: [Read original article](<https://blog.guilleojeda.com/sqs-throttle-database-writes-dynamodb>)

Author: Guillermo Ojeda

Published: 2023-09-07T00:12:11Z

Content type: tutorial

Language: en

Sources: [Guille Ojeda](<https://devfeed.tech/sources/guille-ojeda.md>)

Topics: [Amazon SQS](<https://devfeed.tech/topics/amazon-sqs.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [amazon-sqs](<https://devfeed.tech/tags/amazon-sqs.md>), [aws](<https://devfeed.tech/tags/aws.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [databases](<https://devfeed.tech/tags/databases.md>), [dynamodb](<https://devfeed.tech/tags/dynamodb.md>), [e-commerce](<https://devfeed.tech/tags/e-commerce.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [queue](<https://devfeed.tech/tags/queue.md>), [queuing](<https://devfeed.tech/tags/queuing.md>), [sqs](<https://devfeed.tech/tags/sqs.md>)

## AI overview

A technical article describes an e-commerce order-processing system whose DynamoDB provisioned capacity cannot keep up with sudden write traffic. It examines using Amazon SQS to queue writes and throttle database load, while noting that DynamoDB on-demand capacity is an alternative with higher stated cost.

## Source excerpt

We're running an e-commerce platform, where people publish products and other people purchase those products. Our backend has some highly scalable microservices running on well-designed Lambdas, and there's a lot of caching involved. Our order proces...