woodys-uk
Price: £15.93
In stock

kognosko
Price: £31.27
In stock

15 used & new from £0.01

Have one to sell? Sell yours here
 
 
Java Performance and Scalability: 1 (The Sun Microsystems Press Java series)
 
See larger image
 

Java Performance and Scalability: 1 (The Sun Microsystems Press Java series) (Paperback)

by Dov Bulka (Author)
4.7 out of 5 stars  See all reviews (3 customer reviews)

Available from these sellers.


4 new from £15.93 11 used from £0.01

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   Home Learning College opens new browser window
www.homelearningcollege.com  -  Courses From Home Learning College Find Out More Now! 
   Java opens new browser window
Microsoft.com/VisualStudio  -  Try Visual Studio® 2010 Beta For Free. Quick & Easy Download! 
   JProfiler opens new browser window
www.ej-technologies.com  -  Get rid of your performance problems and memory leaks! 
  
 

Product details

  • Paperback: 320 pages
  • Publisher: Addison Wesley (14 Jun 2000)
  • Language English
  • ISBN-10: 0201704293
  • ISBN-13: 978-0201704297
  • Product Dimensions: 23.1 x 18.5 x 2 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon.co.uk Sales Rank: 259,011 in Books (See Bestsellers in Books)
  • See Complete Table of Contents

Product Description

Amazon.co.uk Review

Written for the working programmer who wants to get more speed out of Java, Java Performance and Scalability, Volume 1, bundles several dozen tips for faster and smaller Java code. Backed up by benchmarks of what works and what doesn't, this book provides some essential wisdom for eliminating some common bottlenecks to Java performance.

The 48 optimisations for various aspects of the Java API make up the heart of this text. Early sections look at a particularly tricky subject--string processing--giving you several techniques for increasing speed and reducing object creation. The in-depth examination of the costs and benefits of string concatenation and the immutability of Java String objects will help you uncover possible hot spots that cause lagging performance with strings.

Subsequent sections look at more general strategies for faster programs, like purging obsolete code and the well-known 80-20 rule. (Optimising the 20 percent of your code that consumes 80 percent of processing time, allowing you to create faster software. This book shows you how.) Short tips on such APIs as Java collections and the Java Native Interface (JNI) come next.

The second half of the book zeroes in on better server-side performance with tips on caching and file I/O. The guide to multithreading and synchronisation is a standout here. You'll get several smart tips for speeding up servlets (like pre-computing your standard strings for headers and other boilerplate HTML). The book closes with a valuable custom class for JDBC database connection pooling and a custom HTTP server. Both samples make use of the techniques presented earlier in the text. Even if you don't adopt every suggestion, the ideas here can get you thinking about performance in new ways. (One of the main points of this book is that you can write faster custom code instead of always relying on built-in Java classes and APIs.)

Clearly, Java performance is not something that happens by accident. It must be engineered into your code. This compilation of useful techniques and tips deserves a close look by anyone who wants to squeeze more performance out of Java. --Richard Dragan, amazon.com

Topics covered:

  • Introduction to Java performance
  • More efficient Java string handling (optimising String, String Buffer, and String Tokenizer objects)
  • Reducing Java overhead
  • Faster initialisation
  • The 80-20 rule for optimisation
  • Getting rid of obsolete code
  • Speeding up the JDK 1.1 Vector and Hashtable collection classes
  • Caching techniques
  • Optimising file I/O and buffering
  • Object recycling and object pools
  • Techniques for multithreading and synchronisation
  • Amdahl's law and scalability basics
  • Pros and cons of using the Java Native Interface (JNI)
  • Hints for optimising Remote Invocation Method (RMI) calls
  • Performance hints for servlets and JavaServer Pages (JSPs)
  • Custom sample code for JDBC database connection pooling and a Java HTTP server.


Product Description

Performance is now the area where Java is being put to the test, offering ever greater competitive advantage for those who master it. In this book, one of the world's leading software optimization experts presents 48 lessons that address virtually every aspect of Java server-side performance, Java Performance and Scalability, Volume I proves that, through careful attention to underlying source code and program design, the Java programming language can meet and exceed developers' greatest expectations. Dov Bulka targets the most common and critical Java performance pitfalls, offering dozens of practical tips and solutions covering each performance-critical area. Bulka has done the hard work of digging deep into the JDK to understand Java performance in unprecedented depth. This book includes not only code examples, but actual measurements quantifying the improvements they deliver. Coverage includes strings, containers, numerics, I/O, RMI, JDBC, servlets, JSP, and much more -- including a complete case study that walks through improving the performance of a Web server by a full order of magnitude.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

3 Reviews
5 star:
 (2)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
5.0 out of 5 stars This is a cookbook!, 5 Oct 2001
This is a cookbook for performance.
Do this, do that, and wham! There it is! Fast !!

I've read a couple of books on the subject, but this one stands out!

The author adresses a whole bunch of attack strategies which can and will help you to improve performance.

Every Java programmer could benefit from having this book in the reference bookshelf.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4.0 out of 5 stars Worth reading for the measurement graphs alone, 23 Nov 2000
A fairly decent book which any serious server-side Java developer ought to read. Some of the information is specific to JDK 1.1/1.2, but the ideas are valuable anyway. This is a very practical book which can be used to improve the performance of your code straight away.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5.0 out of 5 stars Excellent !, 3 Oct 2000
By A Customer
As a server side Java developer, I've often found myself in a situation where I had to choose between different implementation options, as well as deciding where to put the effort when it comes to code optimization. After reading this book, I feel much more confident when making these choises.

Not only did it help me from day one in developing better overall performing code. It helped me in tuning excisting code, and more important, it gave me an understanding of how to avoid pitfalls in the new code I write.

I especially like the graphs that compare the performance of different implementations. They make it painfully clear what tremendous bottlenecks can be hidden in innocent looking code.

The 48 lessons on code optimization can be used a reference when you need to optimize a specific part of your code or the book can be read in it's whole at once. I could'nt help reading it all at once! It's a very concise and well written book!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

   


Look for similar items by category


Look for similar items by subject


Feedback

Ad

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.