Title :
Latencies of Service Invocation and Processing of the REST and SOAP Web Service Interfaces
Author :
Aihkisalo, Tommi ; Paaso, Tuomas
Author_Institution :
VTT Tech. Res. Centre of Finland, Oulu, Finland
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 :
Web services; XML; client-server systems; electronic messaging; multimedia communication; protocols; Google Protostuff message; JSON; MTOM/XOP; REST Web service interface processing; SOAP Web service interface processing; XML; client registration; delay distribution; message content encodings; multimedia messaging service; overall round trip time; service invocation latencies; service invocation path; Delay; Encoding; Message service; Servers; Simple object access protocol; XML; HTTP; REST; SOAP; WS;
Conference_Titel :
Services (SERVICES), 2012 IEEE Eighth World Congress on
Conference_Location :
Honolulu, HI
Print_ISBN :
978-1-4673-3053-4
DOI :
10.1109/SERVICES.2012.55