The Study of Resource Racing with Message-based Model
There is a widely used architecture model named as message-based model, which can construct a loosely coupled system and provide primitive support for rapid asynchronous transaction processing. A comprehensive message-based model server for multiple concurrent transactions and synchronization mechanism for acquiring resources are unavoidable, but there are some dead lock problems caused by inappropriate acquiring and releasing of resources among current transactions. This paper analyzed the resource contention problem caused by inappropriate usage of synchronization mechanism in message-based model, which provided several key techniques and solutions to resolve such resource contention problem from different dimensions. These solutions can provide guidelines for the system designers and developers to avoid resource dead lock risk during system design and implementation. Thus the system could be more stable and robust.