SOAP串行化性能增强中间件的设计与实现
SOAP Serialization Performance Enhancement, Design And Implementation Of A Middleware
摘要:
提高任何系统性能的最直接的方法是定义瓶颈并考虑消除它们的方法。Web服务是任何Web应用不可分割的一部分,因此提高Web服务的性能将对系统的整体性能产生很大的影响。Web服务模型中使用最广泛的通信协议SOAP是一种简单的消息交换协议。大型SOAP响应的序列化是SOAP消息交换中的主要性能瓶颈。显然,某些Web服务器可能会收到许多类似的消息,因为它们共享相同的签名。本文背后的想法是避免SOAP响应具有相同调用参数的请求的冗余序列化阶段。该技术利用调用参数之间的相似性,以提高Web服务的响应时间,避免冗余的串行化相同的响应与Web服务器上运行的中间件的帮助。中间件将为每一组当前请求维护一个传入参数的trie。这样,请求处理和相同请求的响应的序列化将仅完成一次。简而言之,只序列化不同的响应是避免序列化程序执行额外工作的最简单方法。值得注意的是,尽管我们的方法是利用精确的重复部分参数,但中间件可以被配置为将对响应的结果集所做的更改应用于在trie中维护的序列化响应,以生成有效的结果。
英文摘要:
The most straightforward way to improve performance of any system is to define the bottlenecks and think of ways to remove them. Web services are the inseparable part of any web application, as a result enhancing performance of web services will have a great effect on the overall performance of the system. The most widely used communication protocol in the web services model, SOAP, is a simple protocol for the exchange of messages. The serialization of large SOAP responses is a major performance bottleneck in a SOAP message exchange. Clearly, some web servers can expect to receive many similar messages for a particular web service as they share the same signature. The idea behind this paper is to avoid the redundant serialization stage of SOAP responses for request which have the same call parameters. The technique exploits the similarities between call parameters to improve web service Response Time by avoiding redundant serialization of the same response with the help of a middleware running on top of web server. The middleware will maintain a trie of incoming parameters for every set of current requests. This way request processing and serialization of the response of same requests will be done only once. In a nutshell, to serialize only the different responses is the simplest way to avoid extra work done by a serializer. It might worth noting that although our approach is to utilize the exact repeating portion parameters, the middleware can be configured to apply changes made to the result set of response to the serialized response being maintained in a trie to generate valid results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。