Hello there. While using the platform, i noticed a big problem for me with speed delivery.
i was sending 80.000 emails using a delivery server with the Mailgun Api. The campaign did 14 hours to complete, that means 1.58email/sec. The server is hosted in azure, so network connection is not an issue. a) i will post my settings, b) i want a clarification about two statuses, c) i will post some settings and the results afterwards.
a) Current settings of the clients group:
Another major question i have to ask is, under settings there is a customer tab also. If a client is within a customer group, will these settings be applied? AND, in which order are the settings applied? 1st Customer group settings/Client settings, 2nd Cron ? 1st customer group settings, 2nd client settings, 3rd cron?
b)While i was sending the 80k subs campaign, at the start the status was pending-sending, then it changed to sending, and after 2 minutes or so, it changed to processing. From the status i assume that the sending was throttling down. is that right? I had to pause and restart the campaign to change the status to sending, but again after 2 minutes again processing. When it was at processing status, it was sending with a rate of 180email/minute at maximum.
c) The next day, confused AF, i did some testing. I removed my account from any group ( i assume here that the limitation of the group does not apply to my account, but the limitation under settings->customer->domain applies) and here are the settings:
With these settings i was able to send 138email/minute, like the previous campaign sent problem i encountered.
BUT!, when i changed the customer settings to
5 subs at once, pause 10sec,
Then i was able to send emails to 5 subs but not once every 10 or 30/min, but 5 subs EVERY MINUTE.
I am confused AF. I contacted mailgun, and they told me that can have 4500 api requests per minute and they can go up to 9k/minute.
I did some other tests with another provider (sendgrid) and 1k emails were sent in under 1minute with those exact settings.
The client is registered and verified on the domain so we must exclude this problem. I am using version 1.3.6.5 currently.
ps. When i was sending the 80k campaign, i did a
/usr/bin/php -q /var/www/mail.apifon/apps/console/console.php send-campaigns --verbose=1
and i had big waiting timings between the sending the email and getting the OK response. This waiting timings varied from 3 seconds to 30 seconds.
Here is a log.
Chaning to 15 subs every 10 second, it sent 15email per minute.
The cron is scheduled every minute to run, but the pause means that it has to wait a full cron cycle to restart? What's the meaning of pause then?
i was sending 80.000 emails using a delivery server with the Mailgun Api. The campaign did 14 hours to complete, that means 1.58email/sec. The server is hosted in azure, so network connection is not an issue. a) i will post my settings, b) i want a clarification about two statuses, c) i will post some settings and the results afterwards.
a) Current settings of the clients group:
Subs at once 2k, emails per minute 2k, everything else disabled.
Here is the cron settings (which runs every minute as i assume)
Here is the cron settings (which runs every minute as i assume)
4 campaigns at once (rarely more than 2 at the same time, subs at once 80, send at once 80, pause 10sec, emails per minute 300. PCNTL will not and cannot be used on this current server.
From what i understand, this client with the above client group, will be throttled down from the cron job, regardless of what settings I insert on his group, since emails per minute allowed by cron is 300, (and this will not be taken into consideration = 80 x 6 (10sec interval) = 480email/min). Is my assumption right? This needs to be answered.Another major question i have to ask is, under settings there is a customer tab also. If a client is within a customer group, will these settings be applied? AND, in which order are the settings applied? 1st Customer group settings/Client settings, 2nd Cron ? 1st customer group settings, 2nd client settings, 3rd cron?
b)While i was sending the 80k subs campaign, at the start the status was pending-sending, then it changed to sending, and after 2 minutes or so, it changed to processing. From the status i assume that the sending was throttling down. is that right? I had to pause and restart the campaign to change the status to sending, but again after 2 minutes again processing. When it was at processing status, it was sending with a rate of 180email/minute at maximum.
c) The next day, confused AF, i did some testing. I removed my account from any group ( i assume here that the limitation of the group does not apply to my account, but the limitation under settings->customer->domain applies) and here are the settings:
Subs at once 5k, everything else disabled.
cron job as before, 4 campaigns at once (rarely more than 2 at the same time, subs at once 80, send at once 80, pause 10sec, emails per minute 300. PCNTL will not and cannot be used on this current server.
Delivery server Mailgun.cron job as before, 4 campaigns at once (rarely more than 2 at the same time, subs at once 80, send at once 80, pause 10sec, emails per minute 300. PCNTL will not and cannot be used on this current server.
With these settings i was able to send 138email/minute, like the previous campaign sent problem i encountered.
BUT!, when i changed the customer settings to
5 subs at once, pause 10sec,
Then i was able to send emails to 5 subs but not once every 10 or 30/min, but 5 subs EVERY MINUTE.
I am confused AF. I contacted mailgun, and they told me that can have 4500 api requests per minute and they can go up to 9k/minute.
I did some other tests with another provider (sendgrid) and 1k emails were sent in under 1minute with those exact settings.
The client is registered and verified on the domain so we must exclude this problem. I am using version 1.3.6.5 currently.
ps. When i was sending the 80k campaign, i did a
/usr/bin/php -q /var/www/mail.apifon/apps/console/console.php send-campaigns --verbose=1
and i had big waiting timings between the sending the email and getting the OK response. This waiting timings varied from 3 seconds to 30 seconds.
Here is a log.
Code:
[2016-10-27 13:20:10] - *********@gmail.com - 29/10000
[2016-10-27 13:20:10] - Checking if we can send to domain of *********@gmail.com...
[2016-10-27 13:20:10] - Checking if *********@gmail.com is blacklisted...
[2016-10-27 13:20:10] - Checking if the server is over quota...
[2016-10-27 13:20:10] - Checking if the customer is over quota...
[2016-10-27 13:20:10] - Preparing the entire email...
[2016-10-27 13:20:10] - Using delivery server: ********.gr (ID: 54).
[2016-10-27 13:20:10] - Sending the email message using the DIRECT method.
[2016-10-27 13:20:14] - Sending response is: OK
[2016-10-27 13:20:14] - Sending OK.
[2016-10-27 13:20:14] - Done for *********@gmail.com, logging delivery...
Chaning to 15 subs every 10 second, it sent 15email per minute.
The cron is scheduled every minute to run, but the pause means that it has to wait a full cron cycle to restart? What's the meaning of pause then?
Last edited: