On Fri, Jan 13, 2006 at 09:34:01AM -0000, James Geary wrote:
Has anyone found a good method of mass mailing a bunch of people (100k)
using RoR yet?
I have always used a scheduled task to run a ColdFusion page every x
minutes to send out blocks of about 7500 (sending the full 100k crashed
the page) and this worked pretty well and now we are migrating all out
sites to ruby, I seed to do something similar.
For a PHP-based site (which is going to get converted to rails any day
I wrote a very simple daemon which checked the database every couple of
minutes for messages to send, and if it found any, started shooting them
at regular intervals (send 5, sleep for a second, repeat, if I recall
correctly), and then when the “queue” was empty, going back to sleep for
couple of minutes before checking the queue again. Seems to have worked
the mailshots we’ve sent out so far.
Reimplementing such a simple algorithm in Ruby would be triviality