Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Delayed email response

by barndoor (Pilgrim)
on Oct 19, 2001 at 14:16 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found