News for hackers. Stuff that matters.
Re:How does database sharding work? by avinassh on Friday April 07, 2023 @04:37AM (#35479563)
> PS Azure Cosmos is not a real product, it is a beta toy that Microsoft just has made expensive enough that people think it cannot possibly be as bad as it is..

what kind of problems you ran into with Cosmos?

Re:How does database sharding work? by cj on Friday April 07, 2023 @08:32AM (#35480921)
It’s supposed to be MongoDB compatible (if I’m not mistaken).

Last I checked, that “compatibility” run at least a couple major version behind the real MongoDB.

To be fair, the same is probably also true with AWS’s DocumentDB

Re:How does database sharding work? by davidjfelix on Friday April 07, 2023 @10:27AM (#35481912)
I think that AWS DocumentDB uses the last mongodb version that wasn't their new(ish) SSPL license and any compatibility beyond that was "clean room" backported. Its possible Azure is in a similar place.
Re:How does database sharding work? by CSDude on Saturday April 08, 2023 @05:12AM (#35491772)
DocumentDB is a thin layer that converts the mongo commands to Postgres, uses Aurora Postgres. If you check, the constraints are exactly same. Even list RDS CLI returns the DocumentDB clusters.

Most obvious indicator is DocumentDB is single node write whereas Mongo is really not, coming from Aurora Postgres.