Answer the question
In order to leave comments, you need to log in
How to organize the sending of a large number of letters using queues?
You need to create a service for sending emails. The volume is ~50k per day, and all messages are formed in one piece, and not throughout the day. I thought about using distributed computing with a subsequent increase in workers. Actually the question arose how to organize it all?
From the options I see 2:
1) Create 1 task for each letter in rabbitmq, but then the question arises about performance, will this greatly reduce it and will I have to do batching on the worker (take several tasks at once)
2) Create 1 task with all letters, but then the question is how to divide the load between workers
Who understands the topic, can you tell me how best to organize it all?
Answer the question
In order to leave comments, you need to log in
you probably write on something scripted, because 50k connections per day is generally a trifling task, not a trifling task -
I don’t even know how
to organize their delivery ,
google it, probably PowerMTA for a start https://www.sparkpost.com/ powermta/
well, so as not to get up twice - immediately buy here , especially since there is a discount for Friday, it seems,
but so - in general, you see everything correctly - pour it into the queue and process it, changing the deliverymen depending on ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question