Chapter 11. A Java Web Server

We have already touched upon the 80–20 principle in the context of software design and implementation (Optimization 15). The 80–20 principle has also played a role in the selection of optimizations covered earlier in this book. Our discussion is by no means a comprehensive account of all Java performance issues. It is simply an attempt to capture the dominant optimization opportunities that you are likely to encounter in a random Java application. To substantiate this claim, I thought it would be a good exercise to download a random Java application from the Internet and try to construct a mapping from our optimizations to their manifestations in this Java code. I also wanted to apply our optimizations to semi-real ...

Get Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.