"Topology"
- MongoDB Shard Expansion + Multi-DC:加 shard 與加 DC 同時進行時的 parallel run 與流量切換
MongoDB sharded cluster 同時加 shard 與加 DC 的操作:chunk migration、replica set 加跨 DC member、cross-DC routing 的機制,加 DC 為什麼要兩個 DC 並行服務再切流量,balancer、initial sync、跨 DC 讀取、zone sharding 與跨 DC failover 的故障演練,以及 multi-DC 的容量與成本
- Redis Cluster Re-sharding:source = target,但 topology 重劃的 5 段流程
Redis cluster re-sharding 是 5 type migration 漏類實證 — source / target 同 cluster、無 schema / paradigm 差、但 16384 slot 重分配是核心;本文涵蓋 4 種 re-sharding driver、slot migration 機制、redis-cli --cluster rebalance / reshard 工具、5 個 production 踩雷(cluster busy / replica lag / client cache stale / cross-slot transaction / monitor gap)
- PostgreSQL Partition Redesign:當 monthly partition 越跑越慢
PostgreSQL partition redesign 屬於 Type F「topology re-layout」:從 monthly partition 改 daily / 從 range 改 list / 從單軸改 sub-partition,diff dimension audit 裡只有 data topology 是 High;涵蓋 partition 不平衡偵測、建新 partition tree 搬資料再 rename swap 的線上重劃、backfill 卡 vacuum / dual-write latency / pruning 失效 / unique 範圍 / DROP 舊 partition 這些 production 踩雷、跟 partition_pruning + autovacuum 整合