"Mongodb"
- DB3 Vendor Selection:document / KV / multi-model 三方選型 + workload shape 前置判讀
MongoDB / DynamoDB / Cosmos DB 三家 NoSQL 選型 entry point:workload shape × access pattern × consistency 三軸前置判讀、migration path 三型、federated DB 視角、三 vendor 對比 10 軸
- MongoDB → Atlas:Atlas 不是 MongoDB + managed、是另一個 product
Atlas 號稱「MongoDB managed」但 operational model 完全不同(auto-scaling / VPC peering / IAM-driven access / 內建 backup / billing 模型);本文採用 Type C operational redesign hybrid 結構、4-phase operational migration + drop-in cutover、5 個 production 踩雷(連線數限制 / IP whitelist / backup retention / IAM token 過期 / billing 暴漲)
- MongoDB Shard Expansion + Multi-DC:Type F「不需要 parallel run」的 multi-region 例外
MongoDB sharded cluster 加 shard + 跨 DC expansion 是 Type F「topology re-layout」第 3 個 dogfood — 同時改 sharding + replication topology + region distribution;驗證 [#128](/report/data-topology-as-audit-dimension/) self-aware limitation 第 3 點「Type F 不需要 parallel run」claim 的例外(multi-region rollout 必須 parallel run + 切流量);涵蓋 chunk migration / replica set add member / cross-DC routing
- MongoDB Schema Design Pattern:contract layer 在哪 vs embedded / reference
MongoDB document schema 真正的 production 議題不是 embedded vs reference 二選一、是 schema contract 該放 DB 層 validator 還是 app 層 abstraction;含 Toyota polymorphic governance、Forbes abstraction layer、time-series collection 邊界
- MongoDB Shard Key Selection:hashed vs ranged、單 cluster 切 shard vs 多 cluster 切 blast radius
MongoDB sharded cluster shard key 選型(hashed / ranged / compound)、單 cluster 分 shard vs 多 cluster 分 blast radius 對照、跟 DynamoDB / Cosmos DB partition key 可逆性的跨 vendor 紀律
- MongoDB Replica Set Read Preference:DB 層 causal session vs cache 層 freshness token
MongoDB read preference 五擇一 + read concern + causal consistency session 機制;DB 層機制解 cluster 內 read-your-own-write、cache 層 freshness token 解跨層 read-after-write、大規模 OLTP 必須兩層合用
- MongoDB Connection Management and Cache Layer:driver × 部署模型 × cache × predictive scaling
MongoDB 大規模 OLTP 撞牆不是單一 driver 議題、是 driver × 部署模型 × cache × scaling trigger 三層協作;含 Coinbase mongobetween / freshness token / ML 預測擴容三件套 + 適用範圍紀律
- MongoDB Aggregation Pipeline Optimization:stage 順序、index 配合與 memory 邊界
MongoDB aggregation pipeline stage 順序、index 配合、100MB memory 邊界、cross-shard `$lookup` 限制;report dashboard 跑爆 primary 的 anti-pattern 治理路徑
- MongoDB Change Streams + Kafka 整合:resume token、scope 選擇與 connector 治理
MongoDB change streams 機制(resume token、oplog 容量、cluster-wide vs collection-level scope)跟 Kafka Connector 整合;at-least-once 語義 + idempotency 治理 + resume token 過期防護
- 從 MongoDB / Cassandra 遷入 Cosmos DB:protocol-compat API drop-in vs native API paradigm shift、相容性邊界與 dual-write cutover
MongoDB / Cassandra 遷入 Azure Cosmos DB 的 migration playbook:用 Cosmos 的 MongoDB API / Cassandra API 做 wire-protocol drop-in(Type B)vs 換 native SQL API 的 paradigm shift(Type E)兩條路徑的取捨、6 維 diff audit、相容性邊界、dual-write 與 cutover — 從 Microsoft 365 / Forbes 遷移對照切入