News for hackers. Stuff that matters.
Re:Microsoft warns thousands of cloud customers of exposed d... by thrixton on Thursday August 26, 2021 @08:50PM (#28323032)
Sure, as an entity store for run of the mill CRUD apps.

It has a MongoDB API Layer and a Cassandra API Layer (as well as SQL which is preferred).

Works just fine, apparently cost can blow out though with high usage, I haven't got there yet.

Does have a free tier.

Re:Microsoft warns thousands of cloud customers of exposed d... by Bellyache5 on Thursday August 26, 2021 @09:02PM (#28323117)
I tried Cosmos via the Mongo compatibility layer and performance was abysmal, even when cranking the provisioned performance way up. I ended up getting significantly better performance from a reasonably sized MongoDB container running on AKS.
Re:Microsoft warns thousands of cloud customers of exposed d... by tiew9Vii on Thursday August 26, 2021 @10:43PM (#28323770)
Was this taking a MongoDB database app and pointing to CosmosDB or was this developing a app around CosmosDB's partitioning etc but using the MongoDB API for read/write?

The former, lift and shift scenario I can understand as you need to structure your data to work best with CosmosDB/DynamoDB etc. If it's the latter that is useful to know as I'm currently building a POC on Azure so I should watch out for it.

Re:Microsoft warns thousands of cloud customers of exposed d... by Bellyache5 on Thursday September 02, 2021 @04:56PM (#28397269)
Yes, so not the ideal use case. The compatibility Cosmos offered was nice and didn't present any issues, it's just the performance that suffered.

This was all part of a benchmarking exercise to figure out how to scale an app with minimal changes so we expected some performance penalty, just not as steep as what we observed.

Re:Microsoft warns thousands of cloud customers of exposed d... by gqewogpdqa on Friday August 27, 2021 @03:54AM (#28325356)
I think that makes sense. Using the technology as designed without the “compatibility” layer is likely a better option. Thanks for sharing as many I think wonder about these DocumentDB and CosmosDB MongoDB imitators.

However, CosmosDB is a managed service, easier than setting up your own database. Did you exclude Atlas from your conclusion for some reason? Ie did AKS do things that Atlas could not?

Re:Microsoft warns thousands of cloud customers of exposed d... by Bellyache5 on Thursday September 02, 2021 @04:57PM (#28397281)
At the time the client wanted to stay inside of the Azure ecosystem so Atlas and the like weren't seriously considered.
Re:Microsoft warns thousands of cloud customers of exposed d... by habeebtc on Friday August 27, 2021 @01:21AM (#28324539)
As I understand it (I do not know that much about it), Cosmos is a multitool with features to fit many, many use cases.

You must be diligent to develop your application to use it efficiently from both a cost and performance/latency perspective.

Those that put in the work may not love it, but they are very successful at operating at scale. Massive, insane scale.