Patent ID: 7818393

Claim:
A computer implemented system for outage avoidance in connecting to a remote system using a permit pool comprising a predetermined number of permits available for attempting to access said remote system, the system comprising at least one subsystem for having a computing device with a processor and memory for storing executable instructions that are executable by the processor to: receive a request to access the remote system; allocating allocate a thread for the request; determine whether there4s at least one permit is available for attempting to access the remote system; release the thread in response to determining that at least one permit is not available; attempt to access the remote system in response to determining the at least one permit is available, wherein the number of permits available for attempting to access the remote system is adjusted based on the results of comparing a timestamp of a previous obtained permit with an expected response time for a request; and at least one subsystem whereby the element of determining whether at least one permit is available for attempting to access the remote system comprises a comparison method from among the following plurality of comparison methods: determining that a number of permits in use is equal to the number of permits available for attempting to access the remote system; and determining that a number of permits in use is less than the number of permits available for attempting to access the remote system.