рдореБрдЦреНрдп рдордЬрдХреБрд░рд╛рдХрдбреЗ рдЬрд╛
JobCannon
рд╕рд░реНрд╡ рдХреМрд╢рд▓реНрдпреЗ

Azure Cosmos DB

Build globally distributed, multi-model databases with guaranteed latency.

тмв рд╢реНрд░реЗрдгреА 2рддрд╛рдВрддреНрд░рд┐рдХ
рдЙрдЪреНрдЪ
рдкрдЧрд╛рд░рд╛рд╡рд░реАрд▓ рдкрд░рд┐рдгрд╛рдо
5 рдорд╣рд┐рдиреЗ
рд╢рд┐рдХрдгреНрдпрд╛рд╕ рд▓рд╛рдЧрдгрд╛рд░рд╛ рд╡реЗрд│
рдордзреНрдпрдо
рдХрд╛рдард┐рдгреНрдп
тАФ
рдХрд░рд┐рдЕрд░реНрд╕
рдПрдХрд╛ рджреГрд╖реНрдЯрд┐рдХреНрд╖реЗрдкрд╛рдд

Cosmos DB is Microsoft's globally distributed, multi-model database (document, key-value, graph, table). Database engineers earn $120-190k mid-level, essential for globally-scalable applications with low-latency requirements.

Azure Cosmos DB рдореНрд╣рдгрдЬреЗ рдХрд╛рдп

Azure Cosmos DB is Microsoft's globally distributed, multi-model database providing SQL, MongoDB, Cassandra, Gremlin, and Table APIs. It guarantees <10ms latency at the 99th percentile, multi-region replication, and automatic failover. Global scale and low latency are increasingly critical. Cosmos DB is designed from the ground up for this. Key reasons:

ЁЯФз рд╕рд╛рдзрдиреЗ рдЖрдгрд┐ рдкрд░рд┐рд╕рдВрд╕реНрдерд╛
Azure PortalAzure CLICosmos DB SDK (Python, Node.js, .NET)Data Explorer (Azure Portal)SQL API (SQL-like queries)Gremlin for graph queriesMongoDB API (MongoDB syntax)Table API (NoSQL table)Azure Functions (serverless integration)Azure Monitor

ЁЯТ░ рдкреНрд░рджреЗрд╢рд╛рдиреБрд╕рд╛рд░ рдкрдЧрд╛рд░

рдкреНрд░рджреЗрд╢рдЬреНрдпреБрдирд┐рдпрд░рдордзреНрдпрдорд╕реАрдирд┐рдпрд░
USA$90k$150k$240k
UK┬г74k┬г123k┬г195k
EUтВм68kтВм112kтВм180k
CANADAC$103kC$171kC$275k

ЁЯОУ рдкреНрд░рдорд╛рдгрдкрддреНрд░реЗ

AZ-104 Azure Administrator
AZ-204 Azure Developer
Azure Cosmos DB Fundamentals

тЭУ FAQ

Is Cosmos DB better than MongoDB?
Cosmos DB scales globally with low latency (single-digit milliseconds). MongoDB requires sharding and replication setup. Cosmos is managed; MongoDB requires operational overhead.
What is the pricing model?
Two options: provisioned throughput (pay for RU/s reserved) or serverless (pay per operation). Provisioned is cheaper for steady workloads; serverless for spiky.
Can I use Cosmos DB for ACID transactions?
Yes, multi-document ACID transactions within a partition. Cross-partition transactions are eventual consistent (limited). For strict ACID, use Azure SQL.
What are Request Units (RUs)?
Cosmos DB's throughput unit. 1 RU = resources to read 1 KB item. A query costs 5-10 RUs; a write costs 5+ RUs. Capacity planning around RU budget.
Can I use Cosmos DB with my existing MongoDB code?
Yes, via MongoDB API. Connect MongoDB drivers to Cosmos DB; most code works unchanged. Minor differences in some features.
How do I backup and restore?
Cosmos DB has continuous backup (30-day retention). Point-in-time restore to any point in window. No manual backup needed.

рд╣реЗ рдХреМрд╢рд▓реНрдп рддреБрдордЪреНрдпрд╛рд╕рд╛рдареА рдпреЛрдЧреНрдп рдЖрд╣реЗ рдХрд╛, рдпрд╛рдЪреА рдЦрд╛рддреНрд░реА рдирд╛рд╣реА?

рдХрд░рд┐рдЕрд░ рдореЕрдЪ рдХрд░реВрди рдкрд╛рд╣рд╛ тАФ рдЖрдореНрд╣реА рдпреЛрдЧреНрдп рдорд╛рд░реНрдЧ рд╕реБрдЪрд╡реВ.

рдорд╛рдЭреНрдпрд╛рд╕рд╛рдареА рд╕рд░реНрд╡реЛрддреНрддрдо рдХреМрд╢рд▓реНрдпреЗ рд╢реЛрдзрд╛ тЖТ

рддреБрдордЪрд╛ рдЖрджрд░реНрд╢ рдХрд░рд┐рдЕрд░ рдорд╛рд░реНрдЧ рд╢реЛрдзрд╛

реи,релреирез рдХрд░рд┐рдЕрд░рдордзреНрдпреЗ рдХреМрд╢рд▓реНрдпрд╛рдВрд╡рд░ рдЖрдзрд╛рд░рд┐рдд рдЬреБрд│рдгреА. рдореЛрдлрдд, ~3 рдорд┐рдирд┐рдЯреЗ.

рдХрд░рд┐рдЕрд░ рдореЕрдЪ рдХрд░реВрди рдкрд╛рд╣рд╛ тАФ рдореЛрдлрдд тЖТ