diff --git a/notes/pics/bloom-filter.png b/notes/pics/bloom-filter.png index 6937dad6..4d6aa70b 100644 Binary files a/notes/pics/bloom-filter.png and b/notes/pics/bloom-filter.png differ diff --git a/notes/pics/cache-aside-race.png b/notes/pics/cache-aside-race.png index bd150ceb..aa813432 100644 Binary files a/notes/pics/cache-aside-race.png and b/notes/pics/cache-aside-race.png differ diff --git a/notes/pics/lru.png b/notes/pics/lru.png index 38da77b8..c5252ce2 100644 Binary files a/notes/pics/lru.png and b/notes/pics/lru.png differ diff --git a/tools/diagram/src/bloom-filter.svg b/tools/diagram/src/bloom-filter.svg index 8d3a077d..83dbc77e 100644 --- a/tools/diagram/src/bloom-filter.svg +++ b/tools/diagram/src/bloom-filter.svg @@ -15,7 +15,7 @@ .dash { stroke-dasharray: 5 4; } .line { stroke: #666; stroke-width: 1.3; fill: none; } .frame { fill: none; stroke: #999; stroke-width: 1; stroke-dasharray: 4 3; } - .shadow { fill: #C0C0C0; } + .shadow { fill: #DADADA; } @@ -79,10 +79,10 @@ 0 15 - + key1 - + key2 @@ -92,10 +92,10 @@ 插入 - + key3 - + key4 diff --git a/tools/diagram/src/cache-aside-race.svg b/tools/diagram/src/cache-aside-race.svg index 92e67788..daaf127a 100644 --- a/tools/diagram/src/cache-aside-race.svg +++ b/tools/diagram/src/cache-aside-race.svg @@ -10,7 +10,7 @@ .arrow { stroke: #666; stroke-width: 1.3; fill: none; marker-end: url(#a); } .reply { stroke-dasharray: 5 4; } .lost { stroke: #C0605A; marker-end: url(#x); } - .shadow { fill: #C0C0C0; } + .shadow { fill: #DADADA; } @@ -26,16 +26,16 @@ - + 写请求 - + 缓存 - + 数据库 - + 读请求 diff --git a/tools/diagram/src/lru.svg b/tools/diagram/src/lru.svg index cd1643d6..2fcde3cb 100644 --- a/tools/diagram/src/lru.svg +++ b/tools/diagram/src/lru.svg @@ -15,7 +15,7 @@ .dash { stroke-dasharray: 5 4; } .line { stroke: #666; stroke-width: 1.3; fill: none; } .frame { fill: none; stroke: #999; stroke-width: 1; stroke-dasharray: 4 3; } - .shadow { fill: #C0C0C0; } + .shadow { fill: #DADADA; } @@ -31,19 +31,19 @@ LRU:HashMap + 双向链表 - + head - + k2 - + k3 - + k1 - + tail