Dealing with CosmosDB
summary
Cosmos DB is a fully managed, globally distributed multi-model NoSQL service that exposes DocumentDB, MongoDB, Graph (Gremlin) and table APIs, and claims low single-digit-millisecond reads for most cases. It bills throughput in Request Units (RUs), supports partitioned vs single-partition collections, and can be expensive if partitions are overprovisioned. Documents are JSON, auto-indexing all fields by default but index paths can be trimmed to speed writes. Server-side JavaScript stored procedures provide transactional scopes; use direct/TCP mode for best latency and plan failover and multi-master routing explicitly.
AI-written summary · about
