Say we have 20k-50k users signed up for an email newsletter. Does anyone have any data on how well ActionMailer does with mass emails? How long would that take to send? Anything I should watch out for? Thanks, Joe
seems to me you''d be better off setting up mailman and creating a new list with all those addresses. Then your app only has to send off one message to the list. Malman has years of work that''s gone in to handling all the edge cases like what to do when a user''s e-mail address is no longer valid. You don''t want to have to reinvent the wheel. http://www.gnu.org/software/mailman/index.html While i haven''t tried it, managing it''s subscriber list via your site shouldn''t be that big of a deal. Something to watch out for though is your isp cutting you off for being a spammer (all they''ll see is boatloads of e-mail traffic coming from your box). Warn them in advance. On 7/28/06, Joe Van Dyk <joevandyk@gmail.com> wrote:> > Say we have 20k-50k users signed up for an email newsletter. Does > anyone have any data on how well ActionMailer does with mass emails? > How long would that take to send? Anything I should watch out for? > > Thanks, > Joe > >-- - kate = masukomi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060729/1a7ad35c/attachment.html
Does it mean that mailman is useless when you need to send a customized email to each user? On 7/29/06, kate rhodes <masukomi@gmail.com> wrote:> seems to me you''d be better off setting up mailman and creating a new list > with all those addresses. Then your app only has to send off one message to > the list. Malman has years of work that''s gone in to handling all the edge > cases like what to do when a user''s e-mail address is no longer valid. You > don''t want to have to reinvent the wheel. > http://www.gnu.org/software/mailman/index.html > > While i haven''t tried it, managing it''s subscriber list via your site > shouldn''t be that big of a deal. > > Something to watch out for though is your isp cutting you off for being a > spammer (all they''ll see is boatloads of e-mail traffic coming from your > box). Warn them in advance. > > > On 7/28/06, Joe Van Dyk <joevandyk@gmail.com> wrote: > > Say we have 20k-50k users signed up for an email newsletter. Does > > anyone have any data on how well ActionMailer does with mass emails? > > How long would that take to send? Anything I should watch out for? > > > > Thanks, > > Joe > > > > > > > -- > - kate = masukomi > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Kent --- http://www.datanoise.com
On 7/29/06, Kent Sibilev <ksruby@gmail.com> wrote:> > Does it mean that mailman is useless when you need to send a > customized email to each user?yes. Mailman is a mailing list server. Same message goes to everyone. But as the topic was a "newsletter" that seems appropriate to me. - kate = masukomi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060730/6b088454/attachment-0001.html
kate rhodes wrote:> On 7/29/06, Kent Sibilev <ksruby@gmail.com> wrote: >> >> Does it mean that mailman is useless when you need to send a >> customized email to each user? > > > yes. Mailman is a mailing list server. Same message goes to everyone. > But as > the topic was a "newsletter" that seems appropriate to me. >I am curious about this too as my application sends out ~10k customized newsletters, once per week, as well as a trickle of mail the rest of the time. It currently uses PHPMailer. I imagine ActionMailer is in the same league. Does anyone know if performance is similar? During a campaign, I generally limit my pace to no more than 1000 per hour and then only in off-peak hours. Steven -- Posted via http://www.ruby-forum.com/.
On 7/30/06, Steven Talcott Smith <stalcottsmith@yahoo.com> wrote:> kate rhodes wrote: > > On 7/29/06, Kent Sibilev <ksruby@gmail.com> wrote: > >> > >> Does it mean that mailman is useless when you need to send a > >> customized email to each user? > > > > > > yes. Mailman is a mailing list server. Same message goes to everyone. > > But as > > the topic was a "newsletter" that seems appropriate to me. > > > > I am curious about this too as my application sends out ~10k customized > newsletters, once per week, as well as a trickle of mail the rest of the > time. > > It currently uses PHPMailer. I imagine ActionMailer is in the same > league. Does anyone know if performance is similar? > > During a campaign, I generally limit my pace to no more than 1000 per > hour and then only in off-peak hours.In my situtation, the client would like all the emails to be sent out at once. The email content is time sensitive. Joe
On 7/30/06, Steven Talcott Smith <stalcottsmith@yahoo.com> wrote:> I am curious about this too as my application sends out ~10k customized > newsletters, once per week, as well as a trickle of mail the rest of the > time. > > It currently uses PHPMailer. I imagine ActionMailer is in the same > league. Does anyone know if performance is similar? > > During a campaign, I generally limit my pace to no more than 1000 per > hour and then only in off-peak hours. >AFAIK, there is no better solution in the case like this other then sending each email individually. I use ActionMailer with :sendmail delivery method, since if there is no problem with the delivery, sendmail doesn''t queue an email and transmit it immediately. I also use some other techniques like configuring several queues instead of default one, etc. -- Kent --- http://www.datanoise.com
On 7/30/06, Kent Sibilev <ksruby@gmail.com> wrote:> On 7/30/06, Steven Talcott Smith <stalcottsmith@yahoo.com> wrote: > > I am curious about this too as my application sends out ~10k customized > > newsletters, once per week, as well as a trickle of mail the rest of the > > time. > > > > It currently uses PHPMailer. I imagine ActionMailer is in the same > > league. Does anyone know if performance is similar? > > > > During a campaign, I generally limit my pace to no more than 1000 per > > hour and then only in off-peak hours. > > > > AFAIK, there is no better solution in the case like this other then > sending each email individually. I use ActionMailer with :sendmail > delivery method, since if there is no problem with the delivery, > sendmail doesn''t queue an email and transmit it immediately. I also > use some other techniques like configuring several queues instead of > default one, etc.How long, in your estimation, would it take to send 10k emails as quickly as possible? Is the CPU the bottleneck? Joe
> How long, in your estimation, would it take to send 10k emails as > quickly as possible? Is the CPU the bottleneck?It''s probably more an issue of the network being a bottleneck. You''re going to have to do a dns look up for thousands of domains, then establish a connection to it, then transmit it. it''s just like reading 10k records from the db with seperate calls for each read. It''ll be wayyyyyy slower than one read that gets all 10k... except you don''t have that option with e-mail. -- - kate = masukomi