Secondary reads: the good and the bad
Bartłomiej Nogaś
Secondary reads: the good and the bad Bartomiej Noga Agenda Read - - PowerPoint PPT Presentation
Secondary reads: the good and the bad Bartomiej Noga Agenda Read Preference configuration Lagging secondaries and stale or missing/duplicated data What queries can be safely run on secondaries? Improving read throughput:
Bartłomiej Nogaś
2
And impact of step downs
4
5
6
7
8
Nearest
9
10
11
Multiple DC configuration
13
14
Primary (P) Secondary (S1)
Secondary (S2) Secondary (S3)
15
Primary (P) Secondary (S1)
Secondary (S2) Secondary (S3)
16
Primary (P) Secondary (S1)
Secondary (S2) Secondary (S3)
17
And stale or missing data
19
Primary Secondary
20
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s Client (C)
21
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s Client (C)
22
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s Client (C)
23
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s Client (C)
24
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s Client (C)
25
Primary (P) Secondary (S1) Lag 2s
Secondary (S2) Lag 4s
26
27
28
29
30
31
32
33
34
35
36
37
Primary (P) Secondary (S1) Secondary (S2) Client (C)
38
39
41
42
Read from secondaries, sharding
44
45
46
Contact: bartlomiej.nogas@allegrogroup.com