1 / 9

Death of a Web Server: Instrumenting, Analyzing, and Solving Performance Issues

Explore the journey of diagnosing, testing, and addressing performance challenges in a web server environment, with practical insights and strategies for optimization. Learn how to effectively instrument servers, analyze caching behaviors, and proactively solve issues to enhance performance and scalability.

suzy
Download Presentation

Death of a Web Server: Instrumenting, Analyzing, and Solving Performance Issues

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Death of a Web Server Richard Campbell Strangeloop Networks richard@strangeloopnetworks.com

  2. Richard Campbell • Background • First laid hands on a microcomputer in 1977, its been downhill since then • Spent the last 15 years helping companies scale applications on a variety of platforms • Currently • Co-Founder and Chief Evangelist of Strangeloop Networks • Co-Host of .NET Rocks! • Host of RunAs Radio!

  3. Agenda • Setting the Stage • Testing the Web Site • Instrumentinga Web Server • Instrumentingand Analyzing Caching • Actually Solving the Problem

  4. Setting the Stage • The Portable Data Center • Load Test Machine • Web Server • Database Server • Software • Windows 2008 Server 64 bit • Visual Studio 2008 Test Edition

  5. Testing the Web Site • Building Good Tests • Know reality! Get log data • Different kinds of load tests • Test to failure • Soak test

  6. Instrumenting a Web Server • Perf Mon is your friend! • CPU Utilization • Requests per Second • Requests Queued • Bytes in the .NET Heap

  7. Instrumenting Caching • Log every time: • A cache item gets populated • A cache item is destroyed • A cache item gets used

  8. Actually Fixing the Problem • Don’t cache what doesn’t get reused! • Choices: • Don’t cache datasets with unbounded parameters • Bound the parameters

  9. Summary • Diagnosis is the most challenging part of the process • Use facts – instrument everything! • Theorize probable cause, then prove it • Consider a variety of solutions

More Related