Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Delayed email responseby barndoor (Pilgrim) |
on Oct 19, 2001 at 14:16 UTC ( [id://119930]=note: print w/replies, xml ) | Need Help?? |
Sorry, quick question/observation. From my experience with Apache/modperl, won't sleeping for 10 minutes tie up the webserver child process, not to mention waiting 10 minutes to respond to the submitting browser? We use an external ISP for mail services and email server response times were holding up our web server processes for up to 10 seconds per email sent. This hammered our throughput. We therefore wrote a separate mailing program which read messages as text files from a directory and sent them. This mean't the web server wasn't waiting for responses from the email server as it only had to create the text file. The sending process ran every 10 minutes scanning the directory for mails to send. We effectively divorced the mail server speed from the web server giving a better response time. This might be overkill for your needs but perhaps it will help.
In Section
Seekers of Perl Wisdom
|
|