90 likes | 235 Views
The Inktomi Climate Lab: An Integrated Environment for Analyzing and Simulating Customer Network Traffic. Stephane Gigandet, Ashok Sudarsanam, and Anshu Aggarwal Inktomi Corporation Foster City, CA ACM SIGCOMM Internet Measurement Workshop 2001. Motivation.
E N D
The Inktomi Climate Lab: An Integrated Environment for Analyzing and Simulating Customer Network Traffic Stephane Gigandet, Ashok Sudarsanam, and Anshu Aggarwal Inktomi Corporation Foster City, CA ACM SIGCOMM Internet Measurement Workshop 2001
Motivation • Inktomi Traffic Server is our web-caching product. • Some software issues occurring at customer sites are difficult to reproduce in-house. • The traffic is different at every customer site. • Software issues take longer to reproduce and fix.
Solution: The Inktomi Climate Lab • An environment to analyze and simulate the HTTP traffic of customer deployments. Used for: • Stress-testing our product before it is deployed • Reproducing software issues that occur in the field • Estimating performance • Consists of 3 components: • A log analysis tool : Loggen • A load generation tool : Loadgen • Dedicated hardware • Named after agricultural laboratories that can replicate any climate in the world to test seeds.
Customer Deployment Internet Inktomi Traffic Servers Loggen Loadgen test plan logs Users Design Inktomi Climate Lab Loadgen servers Inktomi Traffic Servers Loadgen clients
Log Analysis Tool: Loggen • Analyzes customers logs • Logs are collected using Traffic Server • Logs include IP addresses, methods, URLs, all headers, status codes, numbers of bytes transferred and timing information. • Outputs a test plan containing distributions • XML file used to configure the Load Generation Tool • Example of distributions : document size, site popularity, number of clicks per session, requests per click etc.
Load Generation Tool: Loadgen • Simulates both clients and servers • Uses test plans generated manually or with Loggen • Models individual client sessions realistically • Implements all the HTTP/1.1 features • Supports every request method, header and response status code • Keeps state (cookies) • Simulates network conditions at the application level
Customer A Customer B Customer C Experimental results Deployments: - Customer A: 3 million ops during 2 hours. - Customer B: 2 million ops during 24 hours. - Customer C: 330,000 ops during 24 hours Resulting test plans are currently used to help stress test our product.
logs Validation of the simulation • Reproduction of old bugs first reported by customers • Quantification of code coverage • Logs collected during the simulation should result in a test plan similar to the test plan used during the simulation. Loadgen servers Initial Loadgen test plan Resulting Loadgen test plan Inktomi Traffic Servers Loggen Loadgen clients
Conclusion • The Climate Lab reproduces customer environments • Loggen converts logs to test plans • Loadgen uses test plans to reproduce traffic • Next: evaluation of the accuracy of the simulation • The Climate Lab is used in-house to uncover software issues and test the stability of our web caching proxy