Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1)
2008-11-21 21:55
295 查看
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/topmvp - topmvp
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 essential wisdom for eliminating some common bottlenecks to Java performance.
The 48 optimizations 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 (optimizing 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 zeros in on better server-side performance with tips on caching and file I/O. The guide to multithreading and synchronization is a standout here. You'll get several smart tips for speeding up servlets, such as precomputing 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.)
http://rapidshare.com/files/50032184/0201704293.rar http://depositfiles.com/files/1544966
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 essential wisdom for eliminating some common bottlenecks to Java performance.
The 48 optimizations 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 (optimizing 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 zeros in on better server-side performance with tips on caching and file I/O. The guide to multithreading and synchronization is a standout here. You'll get several smart tips for speeding up servlets, such as precomputing 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.)
http://rapidshare.com/files/50032184/0201704293.rar http://depositfiles.com/files/1544966
相关文章推荐
- 《Java Concurrency in Practice》ch11 Performance and Scalability
- Concurrent Programming in Java(TM): Design Principles and Pattern
- 《Servlet与JSP核心编程》笔记(Note of 《Core Servlets and JavaServer Pages:Volume 1:Core Technologies 2nd》)
- Oracle JServer Scalability and Performance @ JDJ
- Java(TM) Network Programming and Distributed Computing
- java ServerSocket and Socket programming
- Java Performance Optimization Tools and Techniques for Turbocharged Apps--reference
- Python Programming with the Java(TM) Class Libraries: A Tutorial for Building Web and Enterprise App
- Solaris(TM) Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
- C, Erlang, Java and Go Web Server performance test
- Java Socket Programming in Client/Server Applications - 转自 http://www.developer.com/
- JAVA 学习之 Socket and ServerSocket
- Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed
- client-side and server-side
- Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
- The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)
- Plan for caching and performance in SharePoint Server 2013
- Use Memcached for Java enterprise performance, Part 1: Architecture and setup
- 配置tomcat时遇到publishes and runs j2ee and java ee web projects and server configurations to a local to
- [分享]MOSS Scalability and Performance WhitePaper