Skip to content

Commit

Permalink
Caffeine Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Diger committed Jan 3, 2025
1 parent ecc8aa7 commit 03b904a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions _posts/2023-01-01-SUWIKI-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ mermaid: true
# Caffeine Cache 구조

```mermaid
%%{init: { 'theme':'dark' }}%%
%%{init: { 'theme':'dark', 'themeVariables': { 'fontSize': '24px', 'fontFamily': 'Arial' } }}%%
graph TD
subgraph CaffeineStructure["Caffeine Cache 구조"]
NewData[새로운 데이터] --> WindowCache[Window Cache<br/>전체 크기의 1%]
WindowCache -- "LRU 방출" --> WE[방출된 데이터]
WE -- "TinyLFU<br/>진입 정책" --> ProbationCache[Probation Cache<br/>Main Cache의 20%]
ProbationCache -- "자주 접근됨" --> ProtectedCache[Protected Cache<br/>Main Cache의 80%]
ProtectedCache -- "LRU 방출" --> PE[방출된 데이터]
PE -- "TinyLFU<br/>진입 정책" --> ProbationCache
end
classDef cacheBox fill:#2a4858,stroke:#68c1e8,stroke-width:2px
class WindowCache,ProbationCache,ProtectedCache cacheBox
subgraph CaffeineStructure["Caffeine Cache 구조"]
NewData[새로운 데이터] --> WindowCache[Window Cache<br/>전체 크기의 1%]
WindowCache -- "LRU 방출" --> WE[방출된 데이터]
WE -- "TinyLFU<br/>진입 정책" --> ProbationCache[Probation Cache<br/>Main Cache의 20%]
ProbationCache -- "재접근 발생" --> ProtectedCache[Protected Cache<br/>Main Cache의 80%]
ProtectedCache -- "LRU 방출" --> PE[방출된 데이터]
PE -- "TinyLFU<br/>진입 정책" --> ProbationCache
end
classDef cacheBox fill:#2a4858,stroke:#68c1e8,stroke-width:2px
class WindowCache,ProbationCache,ProtectedCache cacheBox
```

## Window Cache (1%)
Expand Down

0 comments on commit 03b904a

Please sign in to comment.