8
THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE 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

Web services on embedded systems – A performance study

Embed Size (px)

Citation preview

Page 1: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE1

WelcomeWeb services on embedded systems –A performance study

by Christin Groba and Siobhan Clarke

IEEE Workshop on the Web of Things, Mannheim, 29 March 2010

Page 2: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

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

Page 3: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

3

Implementation•conventional•ksoap

library (61 kB) 

•ws4d library (478 kB)

Metrics•disk space•message size•response time•energy consumption

Experimental setting

Client (Sun SPOT)

Service (Sun SPOT)

Request n readings

Return list of n readings

Conventional:value # timestamp # samplerid ; . . # . . # . . ;

Web service:<readings>

<reading><value> . . . </ value><timestamp> . . . </timestamp><samplerId> . . . </samplerId>

</reading><reading> . . . </reading>

</readings>

Page 4: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

4

Effect on message size

Overhead:

lower limit~5

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

Page 5: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

5

Effect on response time and energy

Overhead:

lower limit~2.5

Overhead:

lower limit~3

Clie

nt si

de m

easu

rem

ents

Page 6: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

6

Effect on energy structure

Client-side

Service-side

Page 7: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE

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

Page 8: Web services on embedded systems – A performance study

THE IRISH SOFTWARE ENGINEERING RESEARCH CENTRE8

Thank you!