Need to re-build an application - how?

Posted by Tom on Programmers See other posts from Programmers or by Tom
Published on 2011-01-04T17:22:44Z Indexed on 2011/01/04 18:00 UTC
Read the original article Hit count: 262

For our main system, we have a small monitor application that sits outside our network and periodically tries to log in to verify the system still works. We have a problem with the monitor though in that the communications component set (Asta 3 inside Delphi applications) doesn't always connect through. Overall, I'd say it's about 95% reliable, but that other 5% kills the monitor since it will try to log in and hang on the connection attempt (no timeout in the component). This really isn't an issue on the client side of the system since the clients don't disconnect and reconnect repeatedly on the same application instance, but I need a way to make sure the monitor stays up and continues working even when the component fails on a run. I have a few ideas as to which way to have the program run, the main idea being to put the communications inside a threaded data module so that if one thread crashes then another thread can test later and the program keep going. Does this sound like a valid way to go? Any other ideas how to ensure a reliable monitoring application with a less than 100% reliable component? Thanks.

P.S. Not sure these tags are the most appropriate. Tried including "system-reliability" as one, but not high enough rep to create.

© Programmers or respective owner

Related posts about design

Related posts about design-patterns