Buying Options
Web Performance Tuning, Second Edition
Print $44.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?

Product Editions

  1. Web Performance Tuning, Second Edition - March 2002
  2. Web Performance Tuning - October 1998
Description
Web Performance Tuning, 2nd Edition is about getting the best possible performance from the Web. This second edition has been significantly expanded, including new chapters on Web site architecture, security, and reliability. The book also includes many more examples and graphs of real-world performance problems and their solutions, and it has been updated for Java 2. Web Performance Tuning is for anyone who has waited too long for a Web page to display, or watched the servers they manage slow to a crawl.
Full Description
Table of Contents
  1. Preliminary Considerations

    1. Chapter 1 The Quick and the Dead

      1. Questions for the Browser Side
      2. Questions for the Server Side
      3. Key Recommendations
    2. Chapter 2 Web Site Architecture

      1. Trade-offs
      2. Elements
      3. Example Web Site Architectures
      4. Trends
      5. Sample Configurations
      6. Key Recommendations
    3. Chapter 3 Capacity Planning

      1. Do the Math . . .
      2. . . . But Trust Your Eyes More than the Math
      3. Questions to Ask
      4. How Much Bandwidth Do You Need?
      5. How Fast a Server Do You Need?
      6. How Much Memory Do You Need?
      7. Key Recommendations
    4. Chapter 4 Performance Monitoring

      1. Parameters of Performance
      2. Latency and Throughput
      3. Utilization
      4. Efficiency
      5. Monitoring Web Performance Using Perl
      6. Automatically Generating Monitoring Scripts Using Sprocket
      7. Using a Relational Database to Store and Retrieve Your Monitoring Data
      8. Monitoring Machine Utilization with rstat
      9. Monitoring Per-Process Statistics
      10. Generating Graphs from ps Data
      11. Monitoring Other Things
      12. Making a System Dashboard Web Page
      13. Key Recommendations
    5. Chapter 5 Load Testing

      1. Load Test Preparation
      2. Trade-offs with Load Testing Tools
      3. Writing Your Own Load Testing Tools
      4. Benchmark Specifications and Benchmark Tests
      5. Other Resources
      6. Key Recommendations
    6. Chapter 6 Performance Analysis

      1. Using analysis.cgi to Find a Bottleneck
      2. Snooping HTTP with Sprocket
      3. Look at Connections
      4. Log File Analysis
      5. Hits per Second
      6. A Few More Tips
      7. Key Recommendations
    7. Chapter 7 Reliability

      1. Typical Failures
      2. Dependencies
      3. Smoothing Outages
      4. Key Recommendations
    8. Chapter 8 Security

      1. HTTPS and SSL
      2. Firewalls
      3. Bastion Hosts
      4. chroot
      5. Key Recomendation
    9. Chapter 9 Case Studies

      1. Database Table Growing Without Limit
      2. Reverse DNS Lookups Slows Logging
      3. Kinked Cable
      4. Database Connection Pool Growth Limits Performance
      5. Key Recommendation
    10. Chapter 10 Principles and Patterns

      1. Principles of Performance Tuning
      2. Patterns of Performance Improvement
      3. Key Recommendations
  2. Tuning in Depth

    1. Chapter 11 Browsers

      1. How Browsers Work
      2. Types of Browsers
      3. The Perfect Browser
      4. Browser Speed
      5. Browser Tuning Tips
      6. Non-Browser Web Clients
      7. Key Recommendations
    2. Chapter 12 Client Operating System

      1. Microsoft Windows
      2. Macintosh
      3. Unix
      4. Key Recommendations
    3. Chapter 13 Client Hardware

      1. CPU
      2. RAM
      3. Cache
      4. Bus
      5. Disk
      6. Video
      7. BIOS
      8. Key Recommendations
    4. Chapter 14 Lines and Terminators

      1. Forwarding and Latency
      2. Your Modem, the Information Driveway
      3. ISDN
      4. Cable Modems
      5. xDSL
      6. Higher Capacity Lines
      7. Intranets
      8. Network Modeling Tools
      9. The Internet
      10. PTTs
      11. Key Recommendations
    5. Chapter 15 Network Protocols

      1. Power and Protocols
      2. Factors Affecting Network Protocol Performance
      3. The Protocols of the Web
      4. Key Recommendations
    6. Chapter 16 Server Hardware

      1. Box on a Wire
      2. Good I/O
      3. Multiple Busses
      4. Fast Disks
      5. Lots of Memory
      6. Scalability
      7. Network Interface Card
      8. Bus
      9. Memory
      10. RAM Characteristics
      11. CPU
      12. Symmetric Multiprocessing (SMP)
      13. Disk Activity and PID
      14. Key Recommendations
    7. Chapter 17 Server Operating System

      1. Unix and the Origin of the Web
      2. Unix Flavors
      3. System Calls Versus Library Calls
      4. Processes and the Kernel
      5. The Filesystem
      6. The Windowing System
      7. Versions and Patches
      8. Configurable OS Parameters
      9. Unix OS Monitoring Tools
      10. System Call Tracers
      11. Network Snooping Tools
      12. How Many Connections Can My Server Handle?
      13. How Many Processes Can My Server Handle?
      14. How Quickly Can My Server Fork New Processes?
      15. Unix Versus NT as the Web Server OS
      16. The Exokernel
      17. Key Recommendations
    8. Chapter 18 Server Software

      1. The Evolution of Web Servers
      2. System Calls Made by a Web Server
      3. How Servers Fail
      4. Configuring Apache and Netscape Web Servers
      5. Other Servers
      6. Missing Features
      7. Proxy Servers
      8. Hierarchical Caches
      9. Key Recommendations
    9. Chapter 19 Content

      1. Size Matters
      2. As Good As It Gets
      3. Caching and Differences
      4. HTML and Compression
      5. Performance Tips for HTML Authors
      6. The Document Object Model
      7. Graphics
      8. Audio
      9. Video
      10. Key Recommendations
    10. Chapter 20 Custom Applications

      1. Programmers
      2. CGI Programs
      3. CGI Internals and Performance Problems
      4. General CGI Tips
      5. CGI Language-Specific Optimization Tips
      6. Daemonize It
      7. CGI Database Access Performance
      8. Logging
      9. NSAPI and ISAPI
      10. DOM
      11. JSP, ASP, PHP
      12. Key Recommendations
    11. Chapter 21 Java

      1. Java Will Never Be Good Enough for GUI Applications
      2. Java Is Good Enough for the Server Side
      3. Performance Problems Intrinsic to Java
      4. Coding Tips
      5. Compilers
      6. Profile Your Code
      7. Decompilers
      8. OS-Level Profiling Tools
      9. JITs
      10. Static Compilers
      11. Virtual Machines
      12. Runtime Options
      13. Java Chips
      14. Java Benchmarks
      15. Web Sites with Java Performance Info
      16. Key Recommendations
    12. Chapter 22 Databases

      1. Do You Really Need a Relational Database?
      2. Performance Tips
      3. How Many Connections Can Your Database Handle?
      4. When the Database Is Overloaded
      5. Analysis
      6. Key Recommendations
  1. Appendix A Web Performance Product Lists and Reviews

    1. Problems with Commercial Tools

    2. Monitoring Tools

    3. Load Generation Tools

    4. Preloaders

    5. Network Optimizers

    6. IP Traffic Management Products

    7. Content Compressors

    8. Hybrid Development Tools/Databases

    9. Java Profilers and Optimizers

    10. Caching Services

    11. Professional Services

    12. Load Balancers

    13. Modeling Tools

  2. Colophon

View Full Table of Contents
Product Details
Title:
Web Performance Tuning, Second Edition
By:
Patrick Killelea
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
March 2002
Pages:
480
Print ISBN:
978-0-596-00172-8
| ISBN 10:
0-596-00172-X
Customer Reviews
About the Author
  1. Patrick Killelea

    Patrick Killelea currently works for a major on-line brokerage, but he won't say which one. He spends his days writing monitoring and load testing tools, and proclaiming the web to the be the one true front end because of its simplicity, portability, and performance. He thinks Microsoft is not to be trusted with your back end. Patrick knows there are huge web performance improvements yet to be realized using the details of existing open protocols. He is a fan of T/TCP and hopes one day to set up a connection and deliver an entire web page all in a single packet. Patrick spends his evenings playing with his wife and kids, and is interested in etymologies, obscure religions, and pan-seared salmon with mixed greens and a nice merlot. He likes to get e-mail about web and Java performance issues. Please visit his web site at patrick.net.

    View Patrick Killelea's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Web Performance Tuning, Second Edition is a sword-billed hummingbird. There are over 300 species of hummingbird, all found only in the New World. All of these species are easily identifiable by their long, tubular bills and iridescent feathers. The iridescence is a refraction effect that can be seen only when light is shining on the feathers at certain angles. Hummingbirds range in size from the bee hummingbird, which, measuring 2 inches long and weighing less than an ounce, is the smallest of all birds, to the great hummingbird, which measures about 8.5 inches long.

Hummingbirds are so named because of the humming noise made by their rapidly moving wings. On average, hummingbirds flap their wings 50 times a second; some species can flap as many as 200 times per second. The wings are flexible at the shoulder and, unlike most birds, they are propelled on the upstroke as well as the downstroke. Because of this flexibility, hummingbirds can hover, fly right or left, backward, and upside down. Most hummingbirds have tiny feet that are used only for perching, never for walking. Hummingbirds will fly to travel even a few inches.

Hummingbirds expend a great deal of energy, and they need to feed every 10 minutes or so. They feed on nectar, for sugar, and small insects, for protein. Their long, tapered bills enable them to retrieve nectar from even the deepest flower. Pollen accumulates on the head and neck of hummingbirds while they gather nectar. They then transfer this pollen to other flowers and thus play an important role in plant reproduction.

Hummingbirds appear frequently in Native American legends and mythology, often as representatives of the sun. According to some folk beliefs, they can bring love. Since Europeans first spotted these beautiful, colorful little birds, they have often appeared in the art and literature of the Old World, as well. Mary Brady was the production editor and proofreader for Web Performance Tuning, Second Edition. Sarah Jane Shangraw was the copyeditor. Darren Kelly and Claire Cloutier provided quality control. David Chu and Julie Flanagan provided production support. Lucie Haskins wrote the index.

Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1, using Adobe's ITC Garamond font.

Melanie Wang designed the interior layout, based on a series design by David Futato. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.

  • Book cover of Web Performance Tuning