Chapter 7
Disk and Network Database Interaction
This chapter is a continuation of the RPC measurements in Chapter 6, introducing further complexity. Chapter 6 ended with a simple measurement of one client and one server with no overlap of RPCs. In this chapter we will learn how to time-align clocks on multiple CPUs. We will use multiple clients to send overlapping RPCs and will explore the resulting database and spinlock behavior on the server. We will change from the in-memory database to an on-disk one and then observe interactions between multiple overlapping RPCs accessing the shared disk. As usual, we will estimate the expected dynamics of each experiment, measure the real behavior, and then compare the two as we seek to understand the ...
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.