Chapter 8. Bandwidth-Limited Systems

Up until now, our discussions about network applications have asssumed that the reliability and capacity of the underlying network is sufficient for the task at hand. With the continued growth of wireless communications devices, as well as the ever-increasing use of multimedia content in networked applications, it’s important to consider situations where this assumption is not valid—in other words, in situations where the distributed system is bandwidth-limited.

After a brief discussion of the overall topic of limited bandwidth, we’ll show a framework for doing some crude bandwidth monitoring, built within the I/O stream classes in java.io. Then we’ll show a general content consumer/ producer model that could be used in conjunction with the bandwidth monitoring utilities to implement adaptive buffering for data being streamed over the network.

Get Java Distributed Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.