IT/Software career thread: Invert binary trees for dollars.

  • Guest, some asshat always complains they didn't know the tournie was running, so here's another notice!



    Go here and vote as hard as you can!
    This year's bracket is especially girthy, thanks to Asshat Lurkingdirk, so show your size appreciation with your vote, or else!
Tenants only matter with things like "ok, who do I send emails to today?" or my analysts wanna "fuzzy" search to get metrics on all things that have a cat on them. We can do it, but it's less than optimal which lead me to the idea of a secondary collection specifically for that analyst purpose.
Again I do not understand your use case beyond this post and the one before it.

But if you are concerned about scaling then creating a secondary collection that partitions things into more isolated datasets or volumes is a bread and butter change. You are on the right track here. If the Tenant is not the ideal partitioning point you will need to identify or create a better commonality. This design pattern is a best practice mongo or not in various situations. I would not really be concerned with duplication of data because storage costs nothing. The pain point is going to be keeping your partitions uniform if updates are inconsistent.

And I get why that this is a primary data store for you. But it is something to think about here because all of these problems are nonexistent with Kafka type streaming as the messages are immutable and you never have to deal with any of this. Hence why Mongo is less favored. I think the last time I used Mongo was like 3 years ago now.