Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1) - Softcover

Bulka, Dov

  • 3.14 out of 5 stars
    7 ratings by Goodreads
 
9780201704297: Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1)

Synopsis

This book was written with one goal in mind: to provide Java programmers with the expertise needed to build efficient, scalable Java code. The author shares his experience in server-side performance tuning through measured performance assessments, called optimizations. Each optimization discusses techniques to improve the performance and scalability of your code. Every claim is substantiated with hard numbers and an experience-based evaluation. Java(TM) Performance and Scalability, Volume 1, provides invaluable advice that you will, no doubt, find useful in your coding. Presented in 48 concise lessons that target the most common and critical performance pitfalls, this book offers a plethora of practical tips and solutions for boosting the performance of your programs. These lessons cover performance-critical areas such as memory management, garbage collection, caching, and multithreading. Specific lessons include:

Reserving StringBuffer capacity

Avoiding premature object creation

Creating an efficient vector class

Designing caching into your API

The cost of synchronization

Parallel subtasks

JNI efficiency

Varying the server workload and RMI network plumbing

Using ServletOutputStream

Caching JDBC connections In addition to providing hard numbers that quantify the optimizations, the author concludes the book with an application demonstrating the effectiveness of the performance optimizations. The exercise takes a typical program and increases its performance fourfold through a series of steps that tie together the lessons learned throughout the book. He offers both the means and the proof to better coding.

"synopsis" may belong to another edition of this title.

About the Author

Dov Bulka has spent fifteen years in the trenches of software development delivering large-scale software products to market. He was the performance architect of the IBM Domino-Go Web server that has powered some of the biggest Web sites ever hosted on the Internet, including that of the 1996 Atlanta Olympics. He received his Ph.D. in computer science from Duke University.

0201704293AB04062001

From the Back Cover

This book was written with one goal in mind: to provide Java programmers with the expertise needed to build efficient, scalable Java code. The author shares his experience in server-side performance tuning through measured performance assessments, called optimizations. Each optimization discusses techniques to improve the performance and scalability of your code. Every claim is substantiated with hard numbers and an experience-based evaluation. Java™ Performance and Scalability, Volume 1, provides invaluable advice that you will, no doubt, find useful in your coding.

Presented in 48 concise lessons that target the most common and critical performance pitfalls, this book offers a plethora of practical tips and solutions for boosting the performance of your programs. These lessons cover performance-critical areas such as memory management, garbage collection, caching, and multithreading.

Specific lessons include:

  • Reserving StringBuffer capacity
  • Avoiding premature object creation
  • Creating an efficient vector class
  • Designing caching into your API
  • The cost of synchronization
  • Parallel subtasks
  • JNI efficiency
  • Varying the server workload and RMI network plumbing
  • Using ServletOutputStream
  • Caching JDBC™ connections

    In addition to providing hard numbers that quantify the optimizations, the author concludes the book with an application demonstrating the effectiveness of the performance optimizations. The exercise takes a typical program and increases its performance fourfold through a series of steps that tie together the lessons learned throughout the book. He offers both the means and the proof to better coding.



    0201704293B04062001
  • From the Inside Flap

    Performance has been one of the dominant concerns hovering around Java from its infancy. Regardless of an order of magnitude speedup resulting from just-in-time (JIT) compilers, HotSpot, and other advances in JVM technology, the performance issue is still a legitimate concern. The reality facing Java programmers is that it is very easy to write slow Java programs. Java is a performance mine field and expert guidance is a must.

    Given the importance of performance to Java developers, it is somewhat surprising that no book has been dedicated to this important topic. Almost any other Java-related issue has had multiple books dedicated to it--RMI, JNI, JDBC, threads, networking, and the list goes on. Conspicuously absent has been Java performance. It has been mentioned in passing by many authors but, to my knowledge, rarely has there been more than a chapter discussing it. This book is aiming to fill that gaping hole. It is entirely focused on Java performance issues from start to finish.

    This book is written for Java programmers by a Java programmer. This is an important fact. It is very likely that the Java performance issues that I have dealt with in my code will surface in your code as well. The Java optimization techniques that you will find here will significantly elevate the performance and scalability of your Java programs.

    There's plenty of material to cover. Let's get started.

    0201704293P04062001

    Excerpt. © Reprinted by permission. All rights reserved.

    Preface Performance has been one of the dominant concerns hovering around Java from its infancy. Regardless of an order of magnitude speedup resulting from just-in-time (JIT) compilers, HotSpot, and other advances in JVM technology, the performance issue is still a legitimate concern. The reality facing Java programmers is that it is very easy to write slow Java programs. Java is a performance mine field and expert guidance is a must. Given the importance of performance to Java developers, it is somewhat surprising that no book has been dedicated to this important topic. Almost any other Java-related issue has had multiple books dedicated to it--RMI, JNI, JDBC, threads, networking, and the list goes on. Conspicuously absent has been Java performance. It has been mentioned in passing by many authors but, to my knowledge, rarely has there been more than a chapter discussing it. This book is aiming to fill that gaping hole. It is entirely focused on Java performance issues from start to finish. This book is written for Java programmers by a Java programmer. This is an important fact. It is very likely that the Java performance issues that I have dealt with in my code will surface in your code as well. The Java optimization techniques that you will find here will significantly elevate the performance and scalability of your Java programs. There's plenty of material to cover. Let's get started.

    "About this title" may belong to another edition of this title.

    Other Popular Editions of the Same Title

    9784894714526: Javaパフォーマンステクニック―サーバサイドプログラミングの最適化 (Java Performance and Scalability Vo)

    Featured Edition

    ISBN 10:  4894714523 ISBN 13:  9784894714526
    Hardcover