tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <>
Subject Re: Memory settings and thread management
Date Thu, 15 Jul 2004 15:31:02 GMT
On Thu, Jul 15, 2004 at 11:08:18AM -0400, Jim Van Fleet wrote:
: Roughly ten times as many people are registered to use the project than 
: I was told

Don't you just love scope creep? ;)

In addition to help suggestions from other people, consider this:

1/ if you're sending out the same e-mail to everyone else, what about
using a dedicated mailing list tool (such as mailman, listserv, etc)?
That way your program sends one e-mail to the mailing list server and it
handles distribution.

2/ Do you have to start 1 thread for each e-mail?  What about a work
queue or leaders/followers setup?  (See any book on threading for

Long story short: these and other thread patterns funnel X number of
jobs -- in your case, sending e-mail -- through Y number of threads.
X > Y.  Say you have 400 addys and 5 threads: each thread should take 80
addresses in sequence.



software  --
tech news --

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message