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 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions