Prometheus TSDB 第一次接觸
1. 架構總覽 🏗️ 核心架構流程 graph LR A[📥 Scrape Target] -->|寫入| B[📝 WAL] B -->|同步| C[💾 Head Block<br/>記憶體] C -->|定期| D[✅ Checkpoint] C -->|每2小時| E[💿 Persistent Block<br/>磁碟] E -->|包含| F[📦 Chunks] style A fill:#e74c3c,stroke:#c039...
Series
In the series, i will introduce database
1. 架構總覽 🏗️ 核心架構流程 graph LR A[📥 Scrape Target] -->|寫入| B[📝 WAL] B -->|同步| C[💾 Head Block<br/>記憶體] C -->|定期| D[✅ Checkpoint] C -->|每2小時| E[💿 Persistent Block<br/>磁碟] E -->|包含| F[📦 Chunks] style A fill:#e74c3c,stroke:#c039...
PostgreSQL 取代 Redis 當 CacheServer? 起因 上次看後端版看到這篇討論,加上又在朋友臉書看到這影片後~ replaced my Redis cache with Postgres... Here's what happened 懷疑自己這世界變了嘛,於是決定跑看看測試。 測試 插入資料場景 k6 測試結果 PostgreSQL 監控 Redis 監控 PostgreSQL table 大小,Redis 看上圖只需要 32 MB 查詢資料場景 k6 測試結果 ...
