> -----Original Message-----
> From: Matt Liotta [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 10:09 PM
> To: CF-Talk
> Subject: RE: 4 million messages per hour - is it possible?
> 
> Using CF makes a lot of sense if the organizations knowledge 
> is with CF.
> Writing a multi-threaded high-performance C++ application to pull data
> from a database and generate email files would take quite a 
> bit of work
> as compared to a CF based application.

Yes, but easier is not always better.  If CF is the choice because it is the
only option, then so be it, but I think it is not a great choice for this
type of application given the volume/hour.

> The fact that you used C++ and
> tight in the same sentence makes me think you don't know much 
> about C++
> as C++ based programs are anything but tight.

This really depends the definition of tight.  Mine is small and fast and I
see no reason why this would not be both.  To handle the desired volume I
suspect that it would have to be both.

> A more reasonable language to use for this job would be Perl, but the
> same knowledge problem comes up. Besides the real work is not sending
> the mail; it is dealing with the volume of bounces and unsubscribe
> requests that result.

Sure, perl would be great for this, but it is not fast.  We have some apps
using perl to send email and some using Java to send email (all back end
processes).  I would not use either if performance were an issue.  I prefer
to spend money on the right code to do the job than extra hardware to
compensate for the wrong code.  4 million messages/hour is a lot of
messages, the code should be as fast (note I did not say tight) as possible
or you will spend a fortune on buying more boxes.


Justin

> -Matt
>  
> 
> > -----Original Message-----
> > From: Justin Greene [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, July 01, 2002 6:23 PM
> > To: CF-Talk
> > Subject: RE: 4 million messages per hour - is it possible?
> > 
> > I have to say that CF does not sound like the best tool to use for
> > something
> > like this.  Perhaps it can be done... write to the spool 
> directly and
> let
> > DART (if they still use that for mail) pick up the messages and send
> them,
> > but CF is not that fast and if you want to handle max volume on min
> > hardware
> > you need speed end efficiency (don't you end up with a page that has
> to
> > run
> > for an hour to complete the task?).  I can see using CF to admin the
> email
> > app but I would think that a nice tight C++ mailer that 
> sends email in
> > batches and marks when things have been successfully queued 
> (to allow
> > restarts without re-sending to everyone) would work much better.
> Also,
> > queuing the messages is not the only issue (as was pointed out
> earlier).
> > You will need a fair amount of bandwidth and a huge number 
> of outbound
> > connections on your MTA to handle delivery of all those messages (4M
> > messages/60min/60sec = 1111 connections/sec and a connection could
> take a
> > few seconds).  Plan on having a bunch of outbound MTA's handling the
> > actual
> > delivery.
> > 
> > When we have built apps that send email, We typically use a 
> queue in a
> > table
> > to control who is getting the mail, then let the spoolers (the app
> that
> > does
> > the sending) each query the table and grab messages in reasonable
> blocks
> > for
> > delivery.  This allows multiple spoolers each handle their 
> part of the
> > load
> > and deliver to multiple MTA's.
> > 
> > Good luck doing this with CF.
> > 
> > Justin
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Matt Liotta [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, July 01, 2002 8:42 PM
> > > To: CF-Talk
> > > Subject: RE: 4 million messages per hour - is it possible?
> > >
> > > We did use CF to generate the email files. I can't say how, but I
> can
> > > tell you that using <cfloop> and <cffile> to accomplish
> > > writing millions
> > > of files in a short period of time is not a problem.
> > >
> > > -Matt
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jeff Green [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, July 01, 2002 5:02 PM
> > > > To: CF-Talk
> > > > Subject: RE: 4 million messages per hour - is it possible?
> > > >
> > > > That makes sense :)
> > > >
> > > > Did CF call a componet that wrote the files to the queue.
> > > >
> > > > I dont assume you did the following but I must ask to make
> > > sure.  Did
> > > you
> > > > happen to write the files by querying the DB for addresses then
> > > looping
> > > > over
> > > > the query (Ive heard cfloop is very slow) and using cffile to
> write
> > > the
> > > > email to the mail server's queue?
> > > >
> > > > jeff
> > > >
> > > > -----Original Message-----
> > > > From: Matt Liotta [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, July 01, 2002 4:32 PM
> > > > To: CF-Talk
> > > > Subject: RE: 4 million messages per hour - is it possible?
> > > >
> > > >
> > > > Nope, can't be done using cfmail. We wrote files directly
> > > to the mail
> > > > server's queue.
> > > >
> > > > -Matt
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Jeff Green [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, July 01, 2002 4:10 PM
> > > > > To: CF-Talk
> > > > > Subject: RE: 4 million messages per hour - is it possible?
> > > > >
> > > > > How exactly is this cf driven.  Cant imagine you did it
> > > with cfmail.
> > > > >
> > > > > Jeff
> > > > >
> > > > > -----Original Message-----
> > > > > From: Matt Liotta [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Monday, July 01, 2002 3:25 PM
> > > > > To: CF-Talk
> > > > > Subject: RE: 4 million messages per hour - is it possible?
> > > > >
> > > > >
> > > > > I developed a system using LSMTP that could easily do 
> 4 million
> > > > messages
> > > > > per hour that was driven from CF.
> > > > >
> > > > > -Matt
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Mark Warrick [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Monday, July 01, 2002 3:15 PM
> > > > > > To: CF-Talk
> > > > > > Subject: 4 million messages per hour - is it possible?
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > Has anyone had experience in creating an emailing
> > > solution driven
> > > by
> > > > > > ColdFusion and SQL on any platform with any mail server that
> is
> > > > > capable of
> > > > > > handling 4 million deliveries an hour?  If so, 
> would you care
> to
> > > > share
> > > > > > what
> > > > > > software you used to make it happen?  And do you have a live
> > > example
> > > > > of a
> > > > > > company using the system?
> > > > > >
> > > > > > ---mark
> > > > > >
> > > > > > ========================================================
> > > > > > Mark Warrick ([EMAIL PROTECTED])
> > > > > > Founder, Fusioneers.com / CTO, ZapConnect.com
> > > > > > Phone: 714-547-5386 / 714-667-0203 / Efax: 801-730-7289
> > > > > > http://www.warrick.net / http://www.fusioneers.com
> > > > > > http://www.zapconnect.com
> > > > > > ICQ: 125160 AIM: markwarric Yahoo: Serengeti
> > > > > > ========================================================
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to