对于读密集型的云计算应用,现有系统很难同时满足它们对性能、一致性与可用性的需求.因此提出了一种基于事务内存和云存储技术的编程与存储模型TMC,能为云应用提供可配置的事务特性与数据存储服务.TMC包括事务与存储两个组件,事务组件允许所有只读事务无需远程验证即可顺利提交,其他事务则采用2PC算法提交;存储组件负责实现系统的可扩展性与可用性.仿真实验结果表明,TMC具有较高的性能与可用性.系统若经进一步改进和优化,将具有应用于实际生产环境中的潜力,可为用户提供高质量的云计算服务.
For read-intensive cloud-computing applications, the existing systems are difficult to meet their demand for performance, consistency and availability simultaneously. A programming and storage model named TMC based on transactional memory and cloud storage technology is put forward in this paper, and it can provide configurable transaction and storage services for cloud applications. TMC consists of transaction component and storage component. The transaction component allows all read-only transactions to be committed without remote validations, and the other transactions delivered by 2PC algorithm. The storage component is responsible for system scalability and availability. The simulation results show that TMC has high performance and availability. With further optimization, the system has the potential in real production environment usage, and may provide users with high-quality cloud services.