Chapter 26

Waiting for Network

This chapter is a case study of network remote procedure call (RPC) delays. Using our RPC client and server programs from earlier chapters, we will examine unexpected round-trip delays.

From our framework, this chapter is about not running while waiting for network. A process can wait for the network because it is waiting for offered work, waiting for a response from another machine, or waiting for congested network hardware.

This chapter draws on the RPC framework introduced in Chapter 6. We assume that RPCs are done through a common library that creates timestamped logs of each request and response message. The library provides a message header with a pseudo-random RPC ID number for each RPC and for nested RPCs ...

Get Understanding Software Dynamics 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.