主权项 |
1. A system for performing a transaction, the system comprising a hardware processor and a memory in a computing apparatus that:
when a first server receives, from a client computer associated with a user, a request to perform the transaction, the first server forwards the request to a second server such that the second server is able to perform the request, wherein the first server comprises an application server hosting a delayed reply handler, wherein the second server comprises at least one of an application server or a database server; when the first server determines that an amount of time has expired without a reply to said request having been received by the first server and a status of the transaction is unknown to the first server based on a time the request was sent and a timeout associated with the request, the first server further:
receives, via the delayed reply handler, a delayed reply from the second server, wherein the delayed reply is associated with the request, wherein the delayed reply indicates the status of the transaction as successful or failed;determines, via the delayed reply handler, based on the delayed reply, whether the transaction associated with the delayed reply has succeeded or failed;updates, via the delayed reply handler, the status of the transaction as determined via the delayed reply handler;determines, via the delayed reply handler, an action to automatically handle the delayed reply, wherein the action is associated with the transaction requested in the request, wherein the action is based on said delayed reply indicating that the transaction has succeeded or failed and on a transaction type of said transaction requested in the request;performs, via the delayed reply handler, said action to automatically handle said delayed reply; andtransmits, via the delayed reply handler, to the client computer, for display to the user, a message informative of the status of the transaction and the action that will be taken based on the delayed reply. |