Latencies of Service Invocation and Processing of the REST and SOAP Web Service Interfaces
Authors:
- 1 June 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 23783818,p. 100-107
Abstract
This paper studies the latencies experienced by the Web service client invoking a proprietary multimedia messaging service with both REST and SOAP interfaces implemented. This study has been made utilising XML, JSON, MTOM/XOP and Google Protostuff message and message content encodings where available. We study the overall round trip time from the start of the request to the response returning to the client. Furthermore, we measure and analyse the phases the request travels through to the server and the return of an associated response. The results of the overall round trip time and distribution of the delays along the service invocation path is presented to ultimately aid and justify a selection of the better performing interface implementation and associated message encoding scheme for the solution. Both interfaces implement the same functionality of registering a client, sending and receiving a message and finally unregistering. Therefore, the results are highly comparable which show differences not only between REST and SOAP but also between XML and JSON and how it can be further improved.Keywords
This publication has 5 references indexed in Scilit:
- Instrumentation-based tool for latency measurements2011
- A Performance Comparison of Web Service Object Marshalling and Unmarshalling Solutions2011
- XML messaging for mobile devices: From requirements to implementationComputer Networks, 2007
- Anatomy and Performance of SSL Processing2005
- Comparing SOAP Performance for Various Encodings, Protocols, and ConnectionsLecture Notes in Computer Science, 2003