From 4d5fc18bf129db13287375e66bf62b9249af91b0 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Thu, 21 Jan 2021 15:27:25 +0000 Subject: [PATCH] Update Serving stale data --- Serving-stale-data.md | 54 +++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Serving-stale-data.md b/Serving-stale-data.md index 895f2d0..fd17df0 100644 --- a/Serving-stale-data.md +++ b/Serving-stale-data.md @@ -55,34 +55,34 @@ To further improve the serving of stale data, we added another option: All improvements made in 9.16.9 and later will be backported to 9.11-S1. -## A client walks into a bar, and asks the bartender do you have stale data? +## A client walks into a bar, and asks the bartender do you serve stale data? -| stale-cache-enable | stale-answer-enable | stale-refresh-time | stale-answer-client-timeout | -| ------------------ | ------------------- | ------------------ | --------------------------- | -| no | no | 0 (disabled) | off (disabled) | -| no | no | 0 (disabled) | 0 | -| no | no | 0 (disabled) | value | -| no | no | value | off (disabled) | -| no | no | value | 0 | -| no | no | value | value | -| no | yes | 0 (disabled) | off (disabled) | -| no | yes | 0 (disabled) | 0 | -| no | yes | 0 (disabled) | value | -| no | yes | value | off (disabled) | -| no | yes | value | 0 | -| no | yes | value | value | -| yes | no | 0 (disabled) | off (disabled) | -| yes | no | 0 (disabled) | 0 | -| yes | no | 0 (disabled) | value | -| yes | no | value | off (disabled) | -| yes | no | value | 0 | -| yes | no | value | value | -| yes | yes | 0 (disabled) | off (disabled) | -| yes | yes | 0 (disabled) | 0 | -| yes | yes | 0 (disabled) | value | -| yes | yes | value | off (disabled) | -| yes | yes | value | 0 | -| yes | yes | value | value | +| cache-enable | answer-enable | refresh-time | answer-client-timeout | bartender | +| ------------ | ------------- | ------------ | --------------------- | --------- | +| no | no | 0 (disabled) | off (disabled) | no | +| no | no | 0 (disabled) | 0 | no | +| no | no | 0 (disabled) | value | no | +| no | no | value | off (disabled) | no | +| no | no | value | 0 | no | +| no | no | value | value | no | +| no | yes | 0 (disabled) | off (disabled) | no | +| no | yes | 0 (disabled) | 0 | no | +| no | yes | 0 (disabled) | value | no | +| no | yes | value | off (disabled) | no | +| no | yes | value | 0 | no | +| no | yes | value | value | no | +| yes | no | 0 (disabled) | off (disabled) | no | +| yes | no | 0 (disabled) | 0 | no | +| yes | no | 0 (disabled) | value | no | +| yes | no | value | off (disabled) | no | +| yes | no | value | 0 | no | +| yes | no | value | value | no | +| yes | yes | 0 (disabled) | off (disabled) | maybe | +| yes | yes | 0 (disabled) | 0 | yes | +| yes | yes | 0 (disabled) | value | maybe | +| yes | yes | value | off (disabled) | most of the time | +| yes | yes | value | 0 | yes | +| yes | yes | value | value | most of the time | With all these options, we now allow operators to be RFC 8767 compliant. But it is also less predictable when stale data is returned and when an attempt to resolve the query is made.