Week 4, Day 3 (Friday, January 31)
In-class exercise—individual, signed and turned in
Assume the following table describes two highly parallel systems, one with no hedges and one that issues tied requests after 1 ms:
Source: Table 2 of The Tail at Scale, Copyright ACM 2013.
Instructions
-
First, do this exercise without consulting anyone else.
-
WHEN INSTRUCTED, consult with one or two people around you, revising your answers if you wish.
Questions
Assuming you sent a request during a lightly-loaded period,
- If you only cared about half of the response, how long would you expect to wait for the unhedged system versus the tied system?
- For requests that require the entire response before they can complete, how much latency do you save using a tied system?
Assuming you sent a request during a heavily-loaded period,
- For requests that require the entire response before they can complete, how much latency do you save using a tied system?
- If you had a heavily-loaded system that used unhedged requests and you wanted to reduce your latency, would it be better to increase your provisioning or implement tied requests? (Assume both solutions have the same cost.)
Demo of testing software
By Izaak.
Discussion of distributed systems
Moved to Monday.