High Availability Setup for Postal Across Regions #3182
Replies: 1 comment 6 replies
-
Postal is fully clusterable so you should be able to run as many copies as you want, as long as they're all pointing to the same pile of databases then you shouldn't have any issues from that perspective. What is more important than your databases is ensuring that all your IP addresses and pools work on all instances that you are running. As Postal is the one sending your messages, you also need to make sure that all its IP addresses are mentioned in the SPF records one way or the other. The DKIM records should be fine but it would also be worth ensuring that you have reverse DNS set up on the IP addresses as well. Regarding restoring database data, you will need to be aware that the queue is fully database managed so if your copy of the data is slightly out of sync then some messages could be delivered twice or missing from the data altogether. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I've set up Postal with 10 IP addresses and IP pools, and I'm looking to make it highly available. I read some discussions here about HA setups and saw suggestions for using HA MySQL clusters. However, since I plan to deploy Postal in two different regions with high latency between them, setting up a shared MySQL cluster isn’t feasible.
My emails are sent through Postal's API, and my application can manage Postal's health checks. I'm thinking of running two separate Postal instances under the same domain, using the same DNS records (like DKIM settings), without adding extra records.
Is this approach advisable? Could it affect my domain or IP reputation? Also, if I restore the MySQL data to the second server, what challenges might arise?
Has anyone tried a similar setup or encountered any issues? Any advice would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions