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回答
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ