Two fun facts: ObjectID's are like Discord snowflakes: you can get a timestamp of when they were generated, you can also generate them client side, so you can filter items in a collection by when they were created.
The other one, that I always enjoyed is, you can take an existing ObjectId, and reinsert it into another document, you dont have to nest all your data, you can go kinda sorta relational about it.
Used it at a previous job, the first project could have just used a SQL db but because the person who made the intial one tried to do NoSQL using something in the cloud, they migrated it to MongoDB to keep it simple and consistent. The second project, well, we really discovered all the limits if you aren't Google with unlimited server memory available, like indexing as I mentioned. MongoDB pipelines are probably my favorite feature on the other hand.
and reinvent half of a SQL engine inside your backend logic, badly.
(source: for the 3rd time, I'm working on a system that uses Mongo extensively, the goal is to move to Postgres as soon as that's viable)
You can scale nearly anything if you know what you're doing.
There seems to be many many options at attempting/trying to scale postgresql, what are your opinions of them?
Also It is my sort of opinion that you really have a good problem if postgresql isn't working you because of the problem of scale and that, evaluation of other problems become much easier but in general, its easier to start with postgresql.
(Personally, I use sqlite + golang static binaries on a 500mb/1gb ram server, so I can't comment too much on the scale part as I am focused much more on simplicity yet I admire how aside from sqlite (which is also more scalable than people think!) postgresql is almost always good enough in my opinion though I can be wrong and I usually am)
Like, what kind of measurement is "largest"? Most bytes on disk?
https://stripe.dev/blog/how-stripes-document-databases-suppo...
Aphyr's original examination [0] took them to task so much so that I always think of it as the start of the "end", at least of the "web scale" obsession.
They probably should look into JEV style models as well might make sense for automatic classification of data.