How to speed up sending mail through Amazon SAS?

Sending half a million letters takes too much time: from 6 to 8 hours. Quota allows you to send 90 messages per second. Sending from a dedicated server with good performance, so memory / connection should not be a problem. Use packages of 50 emails immediately.

Trying a different number of emes in a package: more than 50 causes of CURL errors: Amazon seems to have no response to some streams. Even with 50 per party and a pause of 1200 ms between parties, each broadcast receives several icons.

Thus, the average batch of 50 takes from 4 to 6 s to complete a pause + 1.2s - quite long for a daily distribution of 500,000.

Please advise how to configure the newsletter to get its speed closer to 90 letters / s.

+5
source share
1 answer

How to run multiple jobs in parallel? Thus, the potential damage from each CURL error is reduced. Start with two tasks, where each of them has its pauses and limitations, respectively.

You must also make sure that you set cURL timeouts. Set CURLOPT_CONNECTTIMEOUT and CURLOPT_TIMEOUT at a minimum.

0
source

All Articles