The present invention provides a method for optimizing the processing of
backend transactions. The method operates by identifying a transaction
group comprising related transactions for processing from a program
executing on a computer and determining a degree of necessity for each of
the related transactions, where the degree of necessity represents a
predetermined time period given for each of the plurality of related
transactions to successfully complete execution. The method includes
determining which of the plurality of related transactions depend upon
the successful completion of a transaction, assigning a priority for each
of the related transactions, and scheduling the execution of the related
transactions based upon priority. The method further includes canceling
the execution of any of the related transactions that depend upon a
transaction that does not successful complete execution, and returning to
the program any data resulting from the execution of the related
transactions.