Hi all,

I'm working on a mina based smtp delivery service prototype and given my limited knowledge of MINA/SEDA I have some doubts about the best way to manage this.

The key is that I have an outgoing mail queue (persistent) and I have to manage the delivery of the mails (and also the retries, but this is probably not important).

The outgoing queue can be thousands or even millions mails, so I can't simply push everything to mina and wait, but I have to push messages at the needed rate, or otherwise pop them from mina when needed.

I guess the only parameter I can use is how many concurrent messages to process and to push new messages only when a previous message processing has been completed, is this right?

Is this a correct approach? Have you any hint?

Thank you,
Stefano

Reply via email to