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 5. I/O Streams

Java I/O streams are capable of reading and writing data to and from a variety of end points. Sockets, files, strings, character arrays, and more. All these are fair game for the I/O machinery. We are not going to inspect each and every one. What we want to do is flush out the fundamental performance principles underlying this jungle of combinations of I/O devices and stream classes. We can get there by drilling into a single dimension of streaming file I/O. It will expose the fundamental issues. We will find out that the cost of writing and reading data to and from Java I/O streams boils down to two central issues: buffering and Unicode conversions. Every optimization discussed in this chapter will eventually be reduced ...

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