Wonder if anyone can help with this one...

I am writing an app which needs to send messages through a gateway (via calling a page 
on another server using <cfhttp>)

An answer to this message should be recieved within 5 minutes, or the message should 
be sent again, upto a max of 5 times...

Problem is, how do I get the server to try again within 5 mins...

1 way would be to have a list of pending messages in the database, with a flag as to 
when last sent, and a record as to how many times the message had been sent, and then 
have a scheduled task running every 5 min on the server that looks in this table, and 
if there are any pennding messages takes the apporiate action (i.e resend or flag as 
failed).

The only thing is, I am very concerned as to how this will effect server performance - 
 particularly as the site will not be on a dedicated server, and there is the 
possibility in the future that large numbers of messages may need to be sent at once...

Any ideas /advice???

Cheers

Dan.

___________________________________________
It's amazing what happens when you breathe. 
www.breathe.com
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to