摘要
在讨论分布式事务处理模型及事务提交协议的基础上,针对实际应用中的银行转账模型,分析一般分布式事务处理失败的原因,给出基于XA接口的MySQL(关系型数据库管理系统)和PHP(超级文本预处理语言)对分布式事务处理的实现方法和过程.研究结果表明,该分布式事务处理方法可靠,并可简化程序的实现.
Based on the descriptions of the distributed transaction processing model and the transaction commit protocol,aimed to the actual model of bank transfer,the reason of failure in a general distributed transaction processing is analyzed,a method to implement distributed transaction processing by using MySQL and PHP(Hypertext Preprocessor)based on XA interface is presented.The result of the research shows that the distributed transaction processing method is reliable,and it can simplify the process of implementation.
出处
《东华大学学报(自然科学版)》
CAS
CSCD
北大核心
2011年第1期81-85,共5页
Journal of Donghua University(Natural Science)