Re:Azure Cosmos DB, a globally distributed database
by yazaddaruvala on Wednesday May 10, 2017 @12:45PM
(#14309602)
"For a typical 1-KB item, Cosmos DB guarantees end-to-end latency of reads under 10 ms and indexed writes under 15 ms at the 99th percentile, within the same Azure region."
i.e. 1 KB item; Same Azure region;
This now seems more plausible.
One thing I'm curious about is if they tested load on a single partition, or if they only tested latencies for random access.
Re:Azure Cosmos DB, a globally distributed database
by ChuckMcM on Wednesday May 10, 2017 @04:50PM
(#14311591)
It is interesting that given their scale it essentially says that you can implement twitter on one of these and be done with a chunk of the infrastructure.
Re:Azure Cosmos DB, a globally distributed database
by aravindkr1 on Wednesday May 10, 2017 @04:17PM
(#14311267)
Cosmos DB guarantees both low latency and that you can achieve your provisioned throughput with SLAs. Latency is guaranteed at p99 regardless of storage size or number of partitions.
Re:Azure Cosmos DB, a globally distributed database
by yazaddaruvala on Wednesday May 10, 2017 @10:42PM
(#14313508)
Sorry, I'm not talking about "number of partitions" but if I "forcibly"[0] hit the same partition, will the SLA hold?
[0] i.e. If I somehow pick keys which are on the same partition.
Re:Azure Cosmos DB, a globally distributed database
by bigtones on Wednesday May 10, 2017 @12:15PM
(#14309363)
Agreed - seems like a rebranding in response to Google Cloud Spanner DB announcement a couple of months back. Microsoft's marketing seems to be pushing some of the same outcomes in the ad copy.
Re:Azure Cosmos DB, a globally distributed database
by aliostad on Wednesday May 10, 2017 @01:09PM
(#14309788)
We just did a benchmarking for a PoC on DocumentDB side-by-side Cassandra. It does the job, I have not yet seen anything revolutionary. Cassandra benchmarks seemed better.
Re:Azure Cosmos DB, a globally distributed database
by aravindkr1 on Wednesday May 10, 2017 @04:21PM
(#14311292)
One key difference is the cost difference between running Cosmos DB and Cassandra. We have a TCO paper (https://aka.ms/documentdb-tco-paper) that shows that for a 1M operations/second workload, Cosmos DB is significantly 3x-10x cheaper than other systems.
Re:Azure Cosmos DB, a globally distributed database
by brianwawok on Thursday May 11, 2017 @07:56AM
(#14315346)
And white papers are full of it. Has random things like s Cassandra cluster needs 1 full time engineer per 100 nodes. Where do you come up with this stuff?
Re:Azure Cosmos DB, a globally distributed database
by throwanem on Thursday May 11, 2017 @09:36AM
(#14315865)
In my experience of Cassandra (working on an application client, not managing it), one FTE per hundred nodes is extremely generous.
Re:Azure Cosmos DB, a globally distributed database
by bshanks on Thursday May 11, 2017 @02:11PM
(#14318206)
Do you mean that you typically need more engineers, or less?
Re:Azure Cosmos DB, a globally distributed database
by throwanem on Thursday May 11, 2017 @02:24PM
(#14318304)
The former. One FTE per dozen nodes is more in line with what I've seen in practice.
Re:Azure Cosmos DB, a globally distributed database
by rattray on Wednesday May 10, 2017 @01:45PM
(#14310055)
Given that this makes bolder claims that Cassandra, near-parity is pretty impressive, no?
(I don't know a ton about either technology, please correct me if I'm wrong)
Re:Azure Cosmos DB, a globally distributed database
by Dimi9909 on Wednesday May 10, 2017 @12:15PM
(#14309368)
this is a little bit hard to believe.
Inter region Ping can even take longer than 15ms...
I guess this SLA is for eventual consistency model not strong consistency model
Re:Azure Cosmos DB, a globally distributed database
by aravindkr1 on Wednesday May 10, 2017 @04:23PM
(#14311311)
The latency SLAs are within the same Azure region. You can distribute your data across any of the 30+ regions that Azure is available in. Your apps always read from the local/closest region with the homing APIs.
Re:Azure Cosmos DB, a globally distributed database
by xapata on Thursday May 11, 2017 @09:59AM
(#14316023)
That didn't answer the question: will all regions be always consistent?
Re:Azure Cosmos DB, a globally distributed database
by GovindMS on Thursday May 11, 2017 @10:44AM
(#14316368)
We would invite you to explore the consistency levels available in Cosmos DB. As a developer you can choose what makes most sense in distributed scenario. https://docs.microsoft.com/en-us/azure/documentdb/documentdb...
Eventual is one end of the consistency. But then consistent prefix, session (if you can control) and bounded staleness all can play a role.
Impressive SLA to guarantee, I'm curious if this will hold up in all random customer workloads that are coming, e.g. updating a lot of fields in a large document (or just a very large insert).