Skip to Main Content
Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques
book

Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques

by Dov Bulka
June 2000
Intermediate to advanced content levelIntermediate to advanced
320 pages
5h 54m
English
Addison-Wesley Professional
Content preview from Java™ Performance and Scalability, Volume 1: Server-Side Programming Techniques

Chapter 7. Scalability and Multithreading

As a server-side programmer, my picture of the world is somewhat distorted by my experience. I have never worked on software that was single-threaded. Multithreaded design and implementation is the backbone of server-side programming, but they are definitely not limited to the server alone. Multithreading comes in handy on the client side as well. Why would you want to multithread your software? Three good reasons immediately come to mind:

  • Increased throughput

  • Reduced response time

  • Better CPU utilization

Take a Web server, for example. Practically all of the dominant Web servers are multithreaded. Each incoming HTTP request is assigned to a server thread that will “escort” the request from its arrival until ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Greg Barish

Publisher Resources

ISBN: 0201704293Purchase book