摘要 |
A data transaction system allows performing a transaction related to a data unit, where the data unit can be independently saved and retrieved, from an upper layer to a storage layer without causing a database deadlock related to the data unit in the storage layer. The data transaction system uses a first stage for transferring the data unit from the upper layer to the storage layer, and a second stage to save the transferred data unit independent of the upper layer. The data transaction system guarantees data consistency in applications using multiple layer architecture and at the same time avoiding cost and inefficiencies related to a database deadlock scenario.
|