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 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande