Successfully reported this slideshow.

Web services on embedded systems – A performance study

671 views

Published on

Published in: Technology
  • Be the first to comment

Web services on embedded systems – A performance study

  1. 1. Welcome Web services on embedded systems – A performance study by Christin Groba and Siobhan Clarke IEEE Workshop on the Web of Things, Mannheim, 29 March 2010 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 1
  2. 2. Introduction With the emergence of the Web of Things • Communication via custom interfaces inflexible and impractical • Need for platform‐independent communication mechanism Web services  • Support interoperability and seamless integration • Question remains whether feasible for embedded systems Performance study • Quantify the overhead of Web services • Provide empirical data as basis for decision on best technical solution THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 2
  3. 3. Experimental setting Conventional: Client value # timestamp # samplerid ; . . # . . # . . ; Implementation (Sun SPOT) •conventional Request n Return list of •ksoap library (61 kB)  readings n readings Web service: <readings> •ws4d library (478 kB) <reading> <value> . . . </ value> <timestamp> . . . </timestamp> Service <samplerId> . . . </samplerId> (Sun SPOT) </reading> <reading> . . . </reading> Metrics </readings> •disk space •message size •response time •energy consumption THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 3
  4. 4. Effect on message size Low‐power radio IEEE 802.15.4  • 120 byte for data • 1 packet for conventional message • 7 packets for ksoap message • 10 packets for ws4d message Overhead: lower limit~5 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 4
  5. 5. Effect on response time and energy Overhead: Client side measurements lower limit~2.5 Overhead: lower limit~3 THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 5
  6. 6. Effect on energy structure Service-side Client-side THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 6
  7. 7. Summary Web service overhead compared to conventional approach • At least 5 times larger messages • At least 2.5 times longer response time • At least 3 times higher energy consumption Implication on wireless sensor networks • Overhead may outperform benefit of exchanging  structured data with SOAP • Need for smaller messages to reduce response time and  energy consumption • Need for smaller parsers to reduce memory footprint THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 7
  8. 8. Thank you! THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 8

×