skills:cache
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| skills:cache [2026/05/26 06:57] – phong2018 | skills:cache [2026/05/26 06:58] (current) – [Sequence Diagram] phong2018 | ||
|---|---|---|---|
| Line 135: | Line 135: | ||
| Request B updates value = " | Request B updates value = " | ||
| - | ===== Sequence Diagram ===== | ||
| - | |||
| - | < | ||
| - | |||
| - | Client B Go API DB Redis | ||
| - | | | | | | ||
| - | |---update B--->| | | | ||
| - | | |---UPDATE---> | ||
| - | | |< | ||
| - | | |---SET B-------------------> | ||
| - | </ | ||
| ===== Problem ===== | ===== Problem ===== | ||
| Line 168: | Line 157: | ||
| Do NOT update cache. Only delete it. | Do NOT update cache. Only delete it. | ||
| - | ===== Sequence Diagram ===== | ||
| - | |||
| - | < | ||
| - | |||
| - | Client B Go API DB Redis | ||
| - | | | | | | ||
| - | |---update B--->| | | | ||
| - | | |---UPDATE---> | ||
| - | | |< | ||
| - | | |---DEL---------------------> | ||
| - | </ | ||
| ===== Why it is safe ===== | ===== Why it is safe ===== | ||
skills/cache.1779778674.txt.gz · Last modified: by phong2018
