6 ms·
I've recently done a bunch of research on the best hosting options for MongoDB because we use it at our startup [1] and DB hosting is one of our biggest service
by a13n 8y ago
I've recently done a bunch of research on the best hosting options for MongoDB because we use it at our startup [1] and DB hosting is one of our biggest service expenses.
The major options I found worth considering were Atlas (owned by MongoDB), mLab, and Compose (owned by IBM). Pricing, performance, and versioning all seemed significantly better with Atlas. This narrows the options even more.
I wonder if they intend on jacking up prices once they own the majority of the market, and are one of the only reasonable solutions... I sure hope not.
[1] https://canny.io https://canny.io
- brianwawok 8y agoIf DB is one of your biggest expenses... why no run your own DB? Paying for someone to spin up instances is quite optional in the big picture. The operational complexity of running a DB is not hard. That said, Mongo is a poor choice for any app ever written. I would question why you would use a best-in-class at nothing Database with many operational issues.
- a13n 8y ago> why no run your own DB? Running your own DB introduces tons of risk that just isn't worth saving a couple bucks (until you're at the scale that it is). > That said, Mongo is a poor choice for any app ever written. Sorry, that just isn't true. It works great for us, and is the 4th most popular database by usage (and growing). https://insights.stackoverflow.com/survey/2018#technology-databases https://insights.stackoverflow.com/survey/2018#technology-da...
- brianwawok 8y agoUsing mongo as a DB adds more risk then using self hosted Postgres or MySQL. You can use provider hosted Postgres or MySQL for less money and a better product. McDonalds is very popular, doesn’t mean it’s good food. Be wary the metrics of success you use.
- a13n 8y agoCan you quantify anything? How does mongo add more risk? How is mysql a better product. It doesn't seem like you're saying anything.
- Aeolun 8y agoJust because it works doesn’t mean it wasn’t a poor choice still. You could have said the same thing about storing your passwords in plain text.
- dman 8y agoHow can it be your largest expense but running your own db would save only a couple of bucks?
- a13n 8y agoWe don't spend much :)
- CleanShirt 8y agoBit of a disingenuous statistic. It’s popularity is down to being the default choice for people learning the MEAN/MERN stack. Which is a large number of people currently teaching themselves web dev and goes hand in hand with the rise in popularity of Javascript. It’s got little to do with wether people need a document store or wether it’s good at that job, 99% of the time it’s being used to dump relational data.
- threeseed 8y ago1. Only people who have never run their own database at scale make flippant "just run your own DB" statements. Because it is a difficult job to do right e.g. testing of backup/restore, clustering, monitoring etc. Especially if you are a growing startup. 2. MongoDB is a great database if you have a data model that suits it. Problem is a lot of people have treated like it was relational. And operationally it's far simpler than most systems out there.
- brianwawok 8y agoI run my DB at scale right now. About 2h of work a month. Hint I don’t use mongo. Both AWS and GCE offer hosted Postgres for less than third party hosted mongo. What model is good for mango? Postgres has jsonb. Cassandra has large scale data. Mongo is in a weird spot in the middle that isn’t great at anything.
- threeseed 8y agoMongoDB is a document store which has much better querying and update capabilities than PostgreSQL's JSONB/HStore. It's also probably an order of magnitude faster when it comes to updates. Not sure why you brought up Cassandra it is not a document store and completely irrelevant to this discussion.
- brianwawok 8y agoDo you think the OP is storing documents? I will put cash money they are doing something like the MEAN stack and storing relational or semi relational data in Mongo. Not many startups spend the majority of their storage storing documents.
- danpalmer 8y agoPostgres used to benchmark faster than MongoDB as a document store when compared to MongoDB running with a reasonable reliability setting. Not sure if that has changed in the last few years though - Mongo has improved a bit, and Postgres is getting faster on each release.
- efigle2501 8y agoDid you look at Azure cosmos? Is that compatible with your setup?