7 ms·
> Unless that query goes over the Internet to another continent, that's a really long time isn't it? If you're hosting a service in a cloud provider and you im
by motorest 2y ago
> Unless that query goes over the Internet to another continent, that's a really long time isn't it?
If you're hosting a service in a cloud provider and you implement your services so that your call to the cloud provider's database goes over the internet to another continent, you have serious problems but none of them are caused by the cloud provider.
Also, CosmosDB is globally distributed.
- pbalau 2y agoThey meant 10ms is slow.
- motorest 2y ago> They meant 10ms is slow. I don't think anyone making that sort of claim knows anything about cloud services. A single roundtrip of a no-op request within the same data center takes 0.5ms. Add querying across multiple partitions and data seeking, and you don't find cloud providers doing better. To frame how oblivious that claim is, DynamoDB is lauded for it's response times being sub-20ms. https://stackoverflow.com/questions/34552625/how-to-get-sub-10ms-response-times-from-aws-dynamodb https://stackoverflow.com/questions/34552625/how-to-get-sub-...
- mort96 2y agoNo that's exactly what I mean: I expect the round-trip within a datacenter to take roughly 0.5ms, I expect the key lookup to take about that time or less, so 10ms is roughly an order of magnitude more than I would expect a "simple key-value query" to take