• Keine Ergebnisse gefunden

10407010017530045070010001750Response Time [ms]

N/A
N/A
Protected

Academic year: 2021

Aktie "10407010017530045070010001750Response Time [ms]"

Copied!
22
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Prof. Mario Jeckle

University of Applied Sciences Furtwangen Dr. Ingo Melzer, RIC/ED

DaimlerChrysler Forschungszentrum Ulm

(2)

Contents

• Introduction

• Methodology

• Results and Interpretation

• Java Remote Method Invocation (RMI)

• Common Object Request Broker Architecture (CORBA)

• SOAP

• Summary

(3)

Introduction Influenced by

Transmission Distribution Looking at:

•RMI

•CORBA

•SOAP

•HTTP

•Response Time

•Network Traffic

•CPU Load

Business Logic

(4)

Test Configuration

• Standards: SOAP v1.1, HTTP/1.1

• Ethernet: 10Mbit/s, Connected by hub

• Client configuration

• AMD Athlon 1800Mhz

• SUN J2SE v1.4.1_02-b06

• Apache Axis v1.1 RC2

• Windows XP Home (v5.1 Build2600.xpsp1.020828-1920, SP1)

• Server configuration

• Dual AMD Athlon 1200Mhz

• SUN J2SE v1.4.1_02-b06

• Apache Axis v1.1 RC2

• Jakarta Tomcat v4.1.26

• Apache v1.3.27

• Perl v5.8.0

(5)

Measurements

• More than1,200,000 single data points (RMI, CORBA and SOAP)

• What we measured

• Response time

• CPU load

• Points of interest

• Scalability

• Faults

• No Optimization

• No process modifications

• No low level timing optimizations

• No other network traffic

(6)

Methodology - Goals

• No side effects

• I.e. no additional system or communication requirements

• Scalable methodology

• Technology/Toolkit agnostic

• Different communication styles

• RPC- and document style

• Multiple protocols tested

• HTTP, TCP, ICMP

(7)

Methodology - Our Ping Service User

Ping Request (payload)

Web Service

Ping Response (payload)

• Modeled after ICMP Echo-Service (Ping, RFC 792)

• Symmetric Network load

• No logic on server

• Virtually no requirements on execution environments

• Only three lines of code in Perl

• Portable Java-Client

(8)

Protocol Hierarchy

Wire

Ethernet, ...

IP, ...

TCP, ... ICMP

HTTP, ... RMI CORBA

SOAP

Direct comparison of results is difficult because they operate on

different conceptual levels

(9)

Results I: Package Size

0106

308 1056

620 869

0 1298

0 500 1000 1500

ICMP RMI CORBA SOAP

Discovery Data

(10)

Results I: Package size

0 20492

308 20851

1489 20818

0 21300

0 5000 10000 15000 20000 25000

ICMP RMI CORBA SOAP

Discovery Data

(11)

Results I: Package Size

• SOAP

• 0 bytes payload

• As measured:1298 bytes

• 20,000 bytes payload (10,000 request + 10,000 response)

• Expected value: 21298 bytes

• As measured: 21300 bytes

• CORBA

• 0 bytes payload

• As measured: 869 bytes

• 20,000 bytes payload (10,000 request + 10,000 response)

• Expected value: 20869 bytes

• As measured: 20818 bytes

• RMI

• 0 bytes payload

• As measured: 1056 bytes

• 20,000 bytes payload (10,000 request + 10,000 response)

Conclusion: package size

scales linear with payload size

(12)

Results II: Response Time

0 5 10 15 20 25 30

10 40 70 100 175 300 450 700 1000 1750

Payload Size [bytes]

Response Time [ms]

ICMP-Ping RMI

CORBA

SOAP

(13)

Results II: Response Time

0 100 200 300 400 500 600 700

0 50 100 250 500 1000 2500 5000 10000 40000

Payload Size [bytes]

Resopne Time [ms]

ICMP-Ping RMI

CORBA

SOAP over HTTP

(14)

Results II: Response Time

0 200 400 600 800 1000 1200

4000 4500

5000 6000

7000 8000

9000 10000

15000 20000

25000 30000

40000 50000

60000 100000 Payload Size [bytes]

Response Time [ms]

measurement inaccuracy:

18%

Observation: reproducible, extreme fluctuations

(15)

Results II: Response Time

0 2000 4000 6000 8000 10000 12000 14000

0 40 80 150 300 500 900 1750 3500 6000 10000 30000 100000 500000

Payload Size [bytes]

Response Time [ms]

Perl over TCP

Java over HTTP

(16)

Results II: Response Time

0 50 100 150 200 250 300 350 400

1 2 3 4 5 6 7 8 9 10

Call

Response Time [ms]

• AXIS SOAP, Web Service not precompiled (JWS deployment).

• First call requires compiling;

• Response time is 16 times higher

• Compiled code is cached, but only for a short time

(17)

Results II: Response Time

0 50 100 150 200 250 300 350 400

1 2 3 4 5 6 7 8 9 10

Call

Response Time [ms]

Not precompiled (JWS) Precompiled

• Precompiled code is much faster on the first call

(18)

Results II: Response Time, Different Transport Protocols

0 100 200 300 400 500 600 700

0 50 100 250 500 1000 2500 5000 10000 40000

Payload Size [bytes]

Response Time [ms]

ICMP-Ping RMI

CORBA

SOAP over HTTP SOAP over TCP

Java

Perl

(19)

Results III: Load

Server SPEC: 340

Server SPEC: 274

34 calls/sec

47 calls/sec

42 calls/sec 38 calls/sec

(20)

Results III: Load

• What we measured

• 10000 calls with 3000 byte payload each

• Client/server performance according to published SPEC2000 data

• Results

• 40% faster client:10% more calls

• 20% faster server: 20% more calls

• Conclusion

• SPEC2000 value of server makes good estimate for web service performance

(21)

Results III: Load

Server Spec 2000 Expected Performance

[calls/sec, 3000 bytes paylod]

Pentium III 750 Mhz 340 47

Pentium IV 1,3 Ghz 561 77

Pentium IV 2,66 Ghz 957 132

Dual Intel Xeon 2,8 Ghz 926 128

Dual AMD Opteron 1,8 Ghz 1023 141

Intel Xeon 3,06 Ghz 1113 155

(22)

Conclusion

• Network load (influenced by package size) can have a large impact on overall performance.

• SOAP often performs much better than expected.

• HTTP is the bottleneck.

• SPEC values deliver good estimates for server performance.

• There is lots of potential for performance optimization.

• SOAP Ping is a good benchmark for comparing SOAP implementations.

Referenzen

ÄHNLICHE DOKUMENTE

This paper provides a necessary and sufficient condition for the existence of nonau- tarkic contract in a risk sharing model with two-sided lack of commitment?. Verifying the

NATO countries should continue to distance themselves from individual candidates but show strong support for the election process while continuing to work on

Yet, there is a way in which the gas discovered in the Eastern Mediterranean – Israel as well as Cyprus – could conceivably help Turkey-EU relations: namely, a gas-cooperation

Proposition 1 In our market for credence goods no equilibrium exists where firms produce high quality and price equals marginal cost.. This is true even if there is a

ƒ Nachrichtenformat kann durch Header Blocks erweitert werden, ohne ursprüngliches Format (Body)

Thus, the mental rotation performance of athletes in a sport with a high degree of egocentric transformations (gymnastics), a sport with a high degree of allocentric

“sweet spot”, between peephole size and both user navigation performance and user task load. To do this, we conducted a controlled lab experiment during which 16

It is seen that in addition to typical amphiphilic properties, most importantly the formation of self assembled structures like micelles or lyotropic liquid crystals, the