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 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen