Scale and load #2776
Replies: 1 comment 4 replies
-
|
My personal record when setting up a single Postal instance and a mailcow server with my Postal sender whitelisted was about 7,000 emails a minute. I wouldn't say that's something you should expect out of the gate though, because it took a good bit of work to get there. Before I go into what I've found to be the best settings to tweak for performance, I will preface it by saying that managing your sending reputation and warming up IPs and domains will be critical for being able to send that many emails. If you turn up Postal and blast 300k emails a day off the bat, you will likely run into issues with ESPs. That being said, Postal is definitely capable of managing that kind of load as long as you have the CPU, RAM, database, and network to handle it. On the database, make sure it has plenty of RAM. The most important setting in my experience is the number of connections it allows. There are a bunch of other settings you can tweak for performance, but they're just general settings like memory allocation. Especially when you start scaling up Postal workers, it may consume a few thousand connections. (This may be alleviated with connection pooling but I haven't explored that) On the Postal side, you will likely want plenty of workers available. Supposedly you can configure this in the config file, but it doesn't seem to work for me, so what I do is '''sudo postal start --scale worker=10''' I hope that's helpful and can get you off the ground. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I am looking to send 200k to 300k transactional email per a day through Postal. Has anyone put this much load on the system? Any suggestions or tips?
Beta Was this translation helpful? Give feedback.
All reactions