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.
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.
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