When Realized Solutions is in the process of handling electronic visits, we interact with an online server at a specific URL to download and upload various files pertaining to the employees and the services they provide. Specifically, processes run daily moving files from private file-transfer servers to be available at sites. Then RSI downloads information from the same sites, reconfiguring into previously-agreed-upon formats and moving to the file-transfer servers.
Occasionally, challenges arise when the servers aren’t quick to respond, and the processes fail to download or upload information at the time it was attempting to. These challenges could cause crucial information to not transfer to its appropriate destination in a timely manner. Typically, the connection challenges are minor and have less to do with a failure as much as the server being busy for a moment.
One way RSI continues to improve capability is to handle these interactions beginning with the implementation of the asynchronous retry policies provided by Polly, an external library of files and procedures. Polly provides the framework to be more resilient in the face of minor network outages and spikes in load. Polly handles any http related exception based on RSI’s design to dynamically call certain functionality and end others at a real-time-based system.
With the assistance of Polly, RSI can reorient processes to be successful and halt whenever connection issues ensue. We’ve created a policy to pause momentarily and attempt communication with the server several times before ending the process. RSI observed the decrease in issues caused by connection failures, and with Polly a 10-minute full disconnection will not cause the imbedded processes to completely falter. It will simply wait out the issues as long as it is equipped with the necessary tools.