Hi,
platform: Linux / perl
For sometime now my web scripts have been setup to flow as follows...
Submit Web Form
|
Handle Form
If OK
Populate Database
For each individual selected (determined by web form, could be > 10 individuals)
send email
Display Success Message once all emails sent
Now when our network is running normally this flow works OK and is pretty fast ... however lately the email response is taking an increasing amount of time to complete which can cause users to move to another web page before allowing all emails to be sent.
Does anyone know if there is a more efficient way of doing this so that the system displays the "OK" independent of email completion?
Would forking another process which exclusively handles email resolve this problem? (and if so do you an example of how to do this or have any good pointers)
Thanks and any help appreciated.
SP
platform: Linux / perl
For sometime now my web scripts have been setup to flow as follows...
Submit Web Form
|
Handle Form
If OK
Populate Database
For each individual selected (determined by web form, could be > 10 individuals)
send email
Display Success Message once all emails sent
Now when our network is running normally this flow works OK and is pretty fast ... however lately the email response is taking an increasing amount of time to complete which can cause users to move to another web page before allowing all emails to be sent.
Does anyone know if there is a more efficient way of doing this so that the system displays the "OK" independent of email completion?
Would forking another process which exclusively handles email resolve this problem? (and if so do you an example of how to do this or have any good pointers)
Thanks and any help appreciated.
SP