arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1105.4978cs.NE
收藏

SOAP与REST:比较主从式GA实现

SOAP vs REST: Comparing a master-slave GA implementation

P. A. Castillo, J. L. Bernier, M. G. Arenas, J. J. Merelo, P. Garcia-Sanchez

摘要:

本文对SOAP(简单对象访问协议)和REST(表述性状态传输)进行了高层次的比较。这是通过Web服务连接到Web的两种主要方法。这两种方法是不同的,并提出了一些优点和缺点接口到Web服务:SOAP是概念上更困难(有一个陡峭的学习曲线)和更多的“重量级”比REST,虽然它缺乏标准的安全性支持。为了测试他们的效率(在时间上),两个实验已经进行了使用这两种技术:客户端-服务器模型的实现和主从式的遗传算法(GA)。所获得的结果显示了SOAP和REST实现之间在时间上的明显差异。尽管这两种技术都适合于开发并行系统,但SOAP比REST重,主要是由于SOAP通信的冗长(XML增加了解析消息所需的时间)。

英文摘要:

In this paper, a high-level comparison of both SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) is made. These are the two main approaches for interfacing to the web with web services. Both approaches are different and present some advantages and disadvantages for interfacing to web services: SOAP is conceptually more difficult (has a steeper learning curve) and more "heavy-weight" than REST, although it lacks of standards support for security. In order to test their eficiency (in time), two experiments have been performed using both technologies: a client-server model implementation and a master-slave based genetic algorithm (GA). The results obtained show clear differences in time between SOAP and REST implementations. Although both techniques are suitable for developing parallel systems, SOAP is heavier than REST, mainly due to the verbosity of SOAP communications (XML increases the time taken to parse the messages).

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

↑