Currently I am not using redis, and I have deployed 4 kumo instances. qq.com can send 60 messages per hour, so I have set up 15-m per node. Is this OK?
According to the document, when making_egress_path, max_message_rate can also be set. Can I ignore this and only limit it based on max_message_rate set in queue.toml? limit only for every tennat.
For emails that are already in the channel (not sent yet, all due to the error: ‘bulk delay of ready queue: too many successful connection failures where there was no answer from any hosts listed in MX’) the sending is paused. After I set queue.toml, will it still work, or do I need to clear the queue and resend it?
note that the queue-helper level only throttles the rate at which things move from the scheduled queue to the ready queue. It does not limit the rate at which messages move from the ready queue to the destination. Only the shaping helper controls that rate of egress.
So if you don’t use the shaping helper, and you have a lot of messages in your scheduled queues ready to go at once, you will likely be sending faster than you thought.
Hi Wez, if we use shaping helper, it can be based on tenant? I think each tenant is limited to 50/m, but if the entire system is limited to 50/m, it is too small.
most large scale senders will assign one source per tenant for this sort of use case and use the shaping helper to manage the egress that way. If you are using shared sources between multiple tenants you will need to set the per-tenant rate for entering the ready queue, and the shaping helper to manage the rate at which the associated source ip sends to the destination
There isn’t much to document, you simply set up “one source per tenant”.
To make that more clear, create a source called “XYZ” and put it in a pool called “XYZ-POOL”
Then assign XYZ-POOL to the Tenant in the queues helper.
That is only one way to do it, but is probably the easiest.
I’ll mention again that we could probably save you a lot of pain and time and effort with a PS arrangement
The format is DOMAIN.sources.SOURCE so if you want to limit the deliveries per connection from “IP-1” to gmail.com, you would use ["gmail.com".sources."IP-1"]