Content uploaded by Arun Iyengar
Author content
All content in this area was uploaded by Arun Iyengar on Dec 01, 2014
Content may be subject to copyright.
The following paper was originally published in the
Proceedings of the USENIX Symposium on Internet Technologies and Systems
Monterey, California, December 1997
For more information about USENIX Association contact:
1. Phone: 510 528-8649
2. FAX: 510 548-5738
3. Email: [email protected]
4. WWW URL:http://www.usenix.org/
Improving Web Server Performance by Caching Dynamic Data
Arun Iyengar and Jim Challenger
IBM Research Division, T. J. Watson Research Center
Cache
Manager
Cache 1
Cache 2
Port
Unix Domain
Socket
Application 1
Application 2
Cache
Mgr
Cache 1
Cache 2
Processor 1
Port
Port
Cache
Mgr
Processor 2
Cache 3
Cache 4
Internet Socket
Internet Socket
Processor 3Processor 4
Application
Program 1
Application
Program 2
IBM RS/6000
Model 590
Cache
Manager
ICS 4.2.1
Web Server
Cache driver
program
IBM RS/6000
Model 590
IBM RS/6000
Model 590
IBM RS/6000
Model 590
Webstone
Clients
Webstone
Clients
Webstone
Clients
0
50
100
150
200
250
300
350
400
450
10 100 1000 10000 100000 1e+06
Requests/second
Request Size in Bytes
cache
Web server
Cache 1 Cache 2 WS, Static WS, ICAPI WS, CGI
0
100
200
300
400
Requests/Second
Throughput for Cache and Web Server
Driver Program Cache 2 Cache 1 (est.)
0
100
200
300
Requests/Second
Throughput for Cache Interfaced to Web Server
0
25
50
75
100
125
150
175
200
225
250
275
300
10 20 30 40 50 60 70 80 90 100
System Throughput (Ttp)
Server Program Throughput (stp)
System Throughput with Caching (pdyn = 1)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
0
25
50
75
100
125
150
175
200
225
250
275
10 20 30 40 50 60 70 80 90 100
System Throughput (Ttp)
Server Program Throughput (stp)
System Throughput with Caching (pdyn = .5)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
0
25
50
75
100
125
150
175
200
225
250
275
10 20 30 40 50 60 70 80 90 100
System Throughput (Ttp)
Server Program Throughput (stp)
System Throughput with Caching (pdyn = .2)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
0.1
1
10
100
1000
0.1 1 10 100
Speedup (S)
Server Program Throughput (stp)
Speedup Obtained by Caching (pdyn = 1)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .95 opt
Hit rate = .95
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
0.1
1
10
100
1000
0.1 1 10 100
Speedup (S)
Server Program Throughput (stp)
Speedup Obtained by Caching (pdyn = .5)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .95 opt
Hit rate = .95
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
0.1
1
10
100
0.1 1 10 100
Speedup (S)
Server Program Throughput (stp)
Speedup Obtained by Caching (pdyn = .2)
Hit rate = 1 opt
Hit rate = 1
Hit rate = .95 opt
Hit rate = .95
Hit rate = .8 opt
Hit rate = .8
Hit rate = .4 opt
Hit rate = .4
Hit rate = 0
1
10
100
1000
0.1 1 10
Web Servers Serviced (N)
Server Program Throughput (stp)
Web Servers Serviced by Single Remote Cache (pdyn = .2)
Hit rate = 1
Hit rate = .95
Hit rate = .8
Hit rate = .4
1
10
100
1000
0.1 1 10 100
Web Servers Serviced (N)
Server Program Throughput (stp)
Web Servers Serviced by Single Remote Cache (pdyn = .2)
Hit rate = 1
Hit rate = .95
Hit rate = .8
Hit rate = .4