Last time i advocated for using pg vs mongodb, the person replied that mongodb clustering was super easy.
The Great Migration from MongoDB to PostgreSQL
21–30 of 339 posts
Re: The Great Migration from MongoDB to PostgreSQL
#22Earlier quoted context omitted.
Why do you choose EBITDA? Last I heard it was utter nonsense”, at least according to Warren Buffet. https://m.youtube.com/watch?v=tvnKylAyLbQ
Their "Comprehensive Losses" for the last 3 years are (in thousands) (171,150) (343,375) (309,090) So there you go...
Re: The Great Migration from MongoDB to PostgreSQL
#23is it still difficult to create a cluster of pg dbs. either for redundancy or speed ? Last time i advocated for using pg vs mongodb, the person replied that mongodb clustering was super easy.
Re: The Great Migration from MongoDB to PostgreSQL
#24Earlier quoted context omitted.
I wouldn't say "Mongo is on life support" – it's actually a very successful business growing 30% YoY on a massive scale. Yet, I agree that the license switch has definitely damaged their long-term ecosystem.
They grew 30% if you look at revenue, but that's not how people determine whether a business is healthy. EBITDA is a better metric, and that number was getting dramatically worse every year until 2023. But even in 2023, EBITDA was -$202M. I don't see it ever approaching $0. So it's still a shit business on top of a shit product that no one ever really needed.
Re: The Great Migration from MongoDB to PostgreSQL
#25I don't doubt there are real benefits for them to switch but BTW this is not true: > Difficulty configuring database transactions: With MongoDB, setting up transactions was not trivial because it required running MongoDB in cluster mode with various configuration overhead; this made it extremely difficult, for instance, for customers to run a simple POC of Infisical because it required a production setup of MongoDB.…
Are there any disadvantages to using transactions with a single-instance replica set?
The only difference we noticed is the additional replica set setting for a new instance. No other disadvantages are found.
Re: The Great Migration from MongoDB to PostgreSQL
#26I find it interesting that one sentence claims they made an optimal choice for feature delivery speed, and the next one that they rationalized it as "non optimal as prescribed by Hoare". Never mind the fact that three sentences down the original quote Hoare said "It is often a mistake to make a priori judgments about what parts of a program are really critical, since the universal experience of programmers who have been using measurement tools has been that their intuitive guesses fail."
Re: The Great Migration from MongoDB to PostgreSQL
#27Obligatory parody link: https://youtu.be/HdnDXsqiPYo
I find the super-plain voice of the annoyed character further amplifies the humor.
Re: The Great Migration from MongoDB to PostgreSQL
#28Earlier quoted context omitted.
They grew 30% if you look at revenue, but that's not how people determine whether a business is healthy. EBITDA is a better metric, and that number was getting dramatically worse every year until 2023. But even in 2023, EBITDA was -$202M. I don't see it ever approaching $0. So it's still a shit business on top of a shit product that no one ever really needed.
Why do you choose EBITDA? Last I heard it was utter nonsense”, at least according to Warren Buffet. https://m.youtube.com/watch?v=tvnKylAyLbQ
Re: The Great Migration from MongoDB to PostgreSQL
#29Earlier quoted context omitted.
The problem is that postgres is not a replacement. The JSON operations are not atomic which is terrible. If you wanna use PG that's cool, but I'd suggest just avoiding JSON.
> The JSON operations are not atomic I hear this today the first time. What exactly os not atomic, and is there a resource with more details?
Re: The Great Migration from MongoDB to PostgreSQL
#30I'd be very curious what their data model was in relation to this problem. I wonder if denormalization of the data would have solved the problem without a need for a full database hop.