Project

General

Profile

Osd - tiering - new cache modes » History » Version 1

Jessica Mack, 06/23/2015 11:15 PM

1 1 Jessica Mack
h1. Osd - tiering - new cache modes
2
3
h3. Summary
4
5
Add read-forward and read-proxy cache modes
6
7
h3. Owners
8
9
* Sage Weil (Inktank)
10
11
h3. Interested Parties
12
13
* Name (Affiliation)
14
* Name (Affiliation)
15
* Name
16
17
h3. Current Status
18
19
The current forward cache mode will process the request locally if it exists in the tier and forward anything else. 
20
21
h3. Detailed Description
22
23
There are a couple other modes that make sense:
24
* read-forward: if the op is a read and we miss in the cache tier, forward the request.
25
** this is useful if the base tier is similar fast for reads to the cache tier but we have asymetric write performance or endurance
26
* read-proxy: proxy the read on miss
27
** like read-forward, do not promote when there is a miss.  but, instead of replying with a redirect and making the client do the read, just do the read on their behalf.  this improves latency for certain configurations.
28
29
h3. Work items
30
31
h4. Coding tasks
32
33
# osd: add read-forward mode
34
# osd: add read-proxy mode
35
# mon: add new modes to cachemode command set
36
# qa: add tests to the rados suite to exercise the different cache modes
37
38
h4. Documentation tasks
39
40
# doc: add docs that describe new (and old!) modes and their behaviors, along with examples of when they would be useful