Chapter 29
Waiting for Queues
This chapter is a case study of queuing delays. Using a small multi-threaded program that does fake “work” transactions, we will examine unexpected execution dynamics.
From our framework, this chapter is about not running while waiting in software queues. Any transaction may consist of several pieces of work performed by different processes: one process may do part of the work for a transaction and then queue the remaining work for another process. The execution dynamics can involve excessive queueing delays.
29.1 Overview
Imagine driving down an empty main street in the middle of the night—all the traffic lights ...
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.