SOAP序列化性能优化的研究与实现

SOAP序列化性能优化的研究与实现

ID:36803833

大小:2.67 MB

页数:46页

时间:2019-05-15

SOAP序列化性能优化的研究与实现_第1页
SOAP序列化性能优化的研究与实现_第2页
SOAP序列化性能优化的研究与实现_第3页
SOAP序列化性能优化的研究与实现_第4页
SOAP序列化性能优化的研究与实现_第5页
资源描述:

《SOAP序列化性能优化的研究与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、摘要随着计算机信息处理技术的发展,各个领域都面临遗留系统的整合问题,面向服务的体系结构SOA是其最佳的实现技术。遗留系统将被转化成服务,这些服务独立于各种开发工具、语言甚至运行平台,具有良好的互操作性和透明性,使系统的整合更加灵活。在SOA中,服务大多以Web服务调用实现,而服务则是通过基于HTTP的SOAP协议进行通信,因此,提高服务的性能的关键就是提高SOAP处理的性能。本文分析了Web服务调用时SOAP处理性能上的不足,基于SOAP消息的序列化和反序列化是SOAP性能瓶颈的决定性因素,提出了差分序列化的构想。将首次发送的SOAP消息

2、的序列化结果存储到客户端,作为下一次发送相同或相似消息的模板,并采用数据更新表来记录模板的必要信息,也用于匹配时查找可重用的模板。在实际执行匹配的过程中,可能发生以下四种情况:消息内容匹配、消息结构完全匹配、消息结构部分匹配、不匹配。第一种情况可以完全避免序列化,重发模板即可;第四种情况需要完全的序列化;第二、三种情况则执行部分序列化。本文设计了其实现技术来灵活应对不同情况,包括分块的思想,数据移动、填充、窃取算法,以及块覆盖和并行发送方法。最后,本文对所提算法进行了代码实现,并通过多组试验证明了其算法的有效性。关键字:Web服务,SOA

3、,SOAP性能,序列化Abstract、Mththedevelopmentofcomputerinformationprocessingtechnology,theproblemsofintegrationoflegacysystemsalefacedinallareas.AsService—OrientedArchitecture(SOA)iswidelyused,WebServiceisbecomingoneofthemostwidelyusedimplementationtechnologyofSOA.Legacysystemswi

4、llbetransformedintoserviceswhicharenottiedtoanyspecificdevelopmenttools,languagesandeVellplatform,andhavetransparencyandgoodinteroperability.Theintegrationofsystemismoreflexiblebytheseservices.InSOA,mostservicesaleimplementedintheInternet,and也eyalecommunicatedthroughtheHT

5、TP-basedSOAPprotoc01.Therefore,toimproveperformanceofSOAPprocessingisbecomingthekeytoimprovetheperformanceofservices.Inthispaper,performancedeficienciesoftheSOAPprocessingwhenWebservicesaleinvokedaleanalyzed.AndthemostcriticalfactorofSOAPperformancebottleneckisfoundtobese

6、rializationandde—serializationofSOAPmessages.Thus,themethodofdifferentialserializationisproposed.TheserializedSOAPmessageisstoredintheclientafteritsfirstsendasatemplate.SubsequentmessageswimthesanlestructureandsomeofthesamecontentCanthenreusepartsorallofit.Necessaryinform

7、ationofthetemplatesarerecordedintheDataUpdateTable,whichusetomatchandseekoutthereusabletemplate.Incomparinganewmessagetoasavedtemplate,therearefourdifferentmatchingpossibilities:MessageContentMatch,PerfectStructuralMatch,PartialStructuralMatch,NotMatCh.Inthefirstcase,seri

8、alizationCanbetotallyavoided,andtheclientjustsimplyresendsthemessageasis.Inthef.omlcase,weshould

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。