Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Delayed email response

by barndoor (Pilgrim)
on Oct 19, 2001 at 10:16 UTC ( #119930=note: print w/replies, xml ) Need Help??

in reply to Re: Delayed email response
in thread Delayed email response

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://119930]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-04-01 06:06 GMT
Find Nodes?
    Voting Booth?
    To "Disagree to disagree" means to:

    Results (186 votes). Check out past polls.