摘要
针对企业面向服务体系架构(SOA)环境中非实时服务的重复请求问题,提出一种基于简单对象访问协议(SOAP)扩展的服务响应缓存策略,并在企业服务总线(ESB)上进行了实现,通过将服务响应缓存起来用于应答一定时间内的相同请求,以提高对于这些请求的响应速度。该策略能同时处理普通SOAP响应和带附件SOAP响应,并对SOAP附件设置了防重复缓存机制。在对两个实际服务的测试中,其服务响应时间与采用缓存策略前相比分别缩短了38%和22%,证明了该缓存策略的有效性。
Concerning the repetitive requests to non-real time services in the Service Oriented Architecture(SOA),the authors proposed a response caching strategy based on the extension of Simple Object Access Protocol(SOAP)and XML-binary Optimized Packaging(XOP)and implemented it in Enterprise Service Bus(ESB),which cached the service responses for replying the same requests within a certain period of time in order to accelerate the response to these requests.This strategy can be applied to the general SOAP responses and that with attachments,and it also sets a mechanism to prevent the duplicate caching of the same attachments.For the two services been tested,the response time to the same request is shortened by 38% and 22% with the use of the response caching strategy.
出处
《计算机应用》
CSCD
北大核心
2010年第3期593-595,599,共4页
journal of Computer Applications
基金
国家科技支撑计划重点项目(2007BAF23B0302)
关键词
面向服务体系架构
企业服务总线
简单对象访问协议
XML二进制优化打包
缓存
Service Oriented Architecture(SOA)
Enterprise Service Bus(ESB)
Simple Object Access Protocol(SOAP)
XML-binary Optimized Packaging(XOP)
caching