arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv cs/0503022cs.DB
收藏

transmitting方法缓存的理论与实践

Theory and Practice of Transactional Method Caching

Daniel Pfeifer, Peter C. Lockemann

摘要:

目前,分层体系结构被广泛接受用于构建大规模信息系统。在这种情况下,应用程序服务器通常会成为系统效率的瓶颈。应用程序服务器公开了一个面向对象的接口,该接口由一组方法组成,这些方法可以被潜在的远程客户端访问。方法缓存的想法是在客户端存储相对于应用服务器接口的只读方法调用的结果。如果客户端再次使用相同的参数调用相同的方法,则可以从缓存中获取相应的结果,而无需联系服务器。它已被证明,这种方法可以大大提高现实世界的系统的效率。本文通过解决客户端在ACID事务中包装相关方法调用的情况,扩展了方法缓存的概念。许多重要的应用服务器标准都支持以这种方式划分方法调用序列。在这种情况下,本文提出了一个架构,理论和有效的协议,用于保持完整的事务一致性,特别是串行化时,使用客户端的方法缓存。为了创建一个协议调度缓存的方法的结果,本文扩展了经典的事务形式主义。在此基础上,给出了一个恢复协议和一个乐观可串行化协议。后者在许多方面与传统的事务缓存协议不同。一个效率实验验证了该方法的有效性:使用缓存的系统的性能和可扩展性显着提高。

英文摘要:

Nowadays, tiered architectures are widely accepted for constructing large scale information systems. In this context application servers often form the bottleneck for a system's efficiency. An application server exposes an object oriented interface consisting of set of methods which are accessed by potentially remote clients. The idea of method caching is to store results of read-only method invocations with respect to the application server's interface on the client side. If the client invokes the same method with the same arguments again, the corresponding result can be taken from the cache without contacting the server. It has been shown that this approach can considerably improve a real world system's efficiency. This paper extends the concept of method caching by addressing the case where clients wrap related method invocations in ACID transactions. Demarcating sequences of method calls in this way is supported by many important application server standards. In this context the paper presents an architecture, a theory and an efficient protocol for maintaining full transactional consistency and in particular serializability when using a method cache on the client side. In order to create a protocol for scheduling cached method results, the paper extends a classical transaction formalism. Based on this extension, a recovery protocol and an optimistic serializability protocol are derived. The latter one differs from traditional transactional cache protocols in many essential ways. An efficiency experiment validates the approach: Using the cache a system's performance and scalability are considerably improved.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑