Earlier quoted context omitted.
> You're using a single server in a single datacenter. This is a common problem with “bare metal saved us $000/mo” articles. Bare metal is cheaper than cloud by any measure, but the comparisons given tend to be misleadingly exaggerated as they don't compare like-for-like in terms of redundancy and support, and after considering those factors it can be a much closer result (sometimes down as far as familiarity and per…
Premature optimization. Not every single service needs or require 5 nines.
We cut our Mongo DB costs by 90% by moving to Hetzner
111–120 of 214 posts
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#112Why in the world do people choose Mongo over Postgres? I'm legit curious. Is it inexperience? Javascript developers who don't know backend or proper data modeling (or about jsonb)? Is this type of decision coming down from non-technical management? Are VCs telling their portfolio companies what to use so they have something to burn their funding on? It's just really confounding, especially when there's even mongo-api…
Personally I've found it faster to build using mongo cause you don't need to worry about schemas. You get 32mb per document and you can work out your downstream processing later, e.g. cleanup and serve to postgres, file, wherever. This data is a big data dump that's feeding ML models so relational stuff is not that important.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#113Earlier quoted context omitted.
We will be adding additional db servers and running our own replica set eventually. We're just not there yet. Thanks for reading!
But then you’ll be tripling your costs. Business people are weird about numbers. You should have claimed 70% even if the replicas do nothing and made them work later on. This is highly likely to bite you on the ass.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#114Why in the world do people choose Mongo over Postgres? I'm legit curious. Is it inexperience? Javascript developers who don't know backend or proper data modeling (or about jsonb)? Is this type of decision coming down from non-technical management? Are VCs telling their portfolio companies what to use so they have something to burn their funding on? It's just really confounding, especially when there's even mongo-api…
Personally I've found it faster to build using mongo cause you don't need to worry about schemas. You get 32mb per document and you can work out your downstream processing later, e.g. cleanup and serve to postgres, file, wherever. This data is a big data dump that's feeding ML models so relational stuff is not that important.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#115I moved to another employer that was using Atlas, and the bill rivaled AWS. Unfortunately it was too complex to untangle.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#116Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#117OK guys, running on a single instance is REALLY a BAD IDEA for non-pet-projects. Really bad! Change it as fast as you can. I love Hetzner for what they offer but you will run into huge outages pretty soon. At least you need two different network zones on Hetzner and three servers. It's not hard to setup, but you need to do it.
If you know what you're doing Hetzner is godsend, they give you hardware and several DCs and it's up to you what you can do. The money difference is massive.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#118I’m starting to worry about this Hetzner trend. It can end up to get the price skyrocketing.
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#119> Here's how we managed to cut our costs by 90% You could cut your MongoDB costs by 100% by not using it ;) > without sacrificing performance or reliability. You're using a single server in a single datacenter. MongoDB Atlas is deployed to VMs on 2-3 AZs. You don't have close to the same reliability. (I'm also curious why their M40 instance costs $1000, when the Pricing Calculator ( https://www.mongodb.com/pricing )…
Re: We cut our Mongo DB costs by 90% by moving to Hetzner
#120OK guys, running on a single instance is REALLY a BAD IDEA for non-pet-projects. Really bad! Change it as fast as you can. I love Hetzner for what they offer but you will run into huge outages pretty soon. At least you need two different network zones on Hetzner and three servers. It's not hard to setup, but you need to do it.
I think you're being overly dramatic. In practice I've seen complexity (which HA setups often introduce) causing downtimes far more often than a service being hosted only on a single instance.
No need for SREs. Just add 2 more Hetzner servers.