Book Review of Java Performance: The Definitive Guide
While tools and technologies change rapidly, and looking up information online is sometimes the best way to get the information you need, I can be useful to occasionally read a book to get oriented in a subject and discover what you didn’t know that you didn’t know. For me a good technical book sets the context for the problem and gives you enough information to apply what you learned to harder problems that the book covers, but which also gives you information you can apply immediately. Java Performance: The Definitive Guide does a good job of both.
Not just about JVM params, the book covers application and algorithm issues, database connectivity, as well as JVM issues such as garbage collection algorithms. What is useful, and sadly rare, is that this book not only tells you things you can do, it also tells you things that you can skip, since not every thing you do has a good cost/ benefit payoff.
With an emphasis on standard tools, including open source and those that come with the JDK, you can apply what you learned immediately. The book does not cover every tool, and may not include your favorite, but the discussion has enough tools to get you started.
This book will be useful for both those new to programming in Java (since performance and resource use area rarely emphasized who you are learning to program) and those who have been programming a while but have not spent as much time thinking about performance as one might like.
I got my copy of this book through the Amazon Vine program.