AWS SES prevent exceeding the sending rate

0

Hi all,

In our application, we send reminder emails to our customers one day before their reservation at exactly 1AM. This means, that we may need to send a 100 or even more emails at once, to different email addresses. We have a scheduled Node JS function, which uses the AWS SDK in our backend to do this. Currently, my maximum send rate is 14 emails per second.

So my question is how do I go about preventing to exceed the maximum sending rate per second?

1 Answer
0

Hello,

You can use third-party libraries that help with rate-limiting. I usually write in Python so I use this: https://pypi.org/project/ratelimiter/

It seems like Node.js has a few third-party rate-limiting libraries too. Here's one: https://www.npmjs.com/package/limiter

AWS
Krishna
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions