News for hackers. Stuff that matters.
Re:Digital Ocean Managed Databases by ZWoz on Wednesday October 24, 2018 @02:57PM (#18295316)
Can you explain it more? Why you think that running your own DB instance is such overhead? Are you ever tried running your own, with mysql/mariadb for example?
Re:Digital Ocean Managed Databases by timdev2 on Wednesday October 24, 2018 @03:22PM (#18295536)
Mostly because databases are the key piece o data-persistence infrastructure. Spinning up a MySQL db to dev against, or a single server for a hobby project is quick and easy.

In production, all of a sudden you have a lot of work to do, especially around HA. Figure out replication, get it working, figure out how to monitor/alert if it stops working, figure out failover, figure out how to test that failover actually works, etc.

Support around that stuff has improved over the years, but it's still non-trivial and high-risk to DIY. It's a very different scenario than a stateless app server where you can have easy redundancy.

Re:Digital Ocean Managed Databases by marpstar on Wednesday October 24, 2018 @03:27PM (#18295577)
For me it isn't even this complicated. I just don't want to have to manage OS/MySQL/Postgres version upgrades or worry about having to troubleshoot when things on the server go south.

Just give me a database to connect to and take my money, please.

Re:Digital Ocean Managed Databases by amirexdev on Wednesday October 24, 2018 @03:32PM (#18295606)
I think you mean, shut up and take my money :)
Re:Digital Ocean Managed Databases by nerdywordy on Wednesday October 24, 2018 @04:18PM (#18295966)
timdev2 sums up my original sentiment quite well. Is spinning up and maintaining a DB architecture doable? Of course... But there are so many complexities involved for real production that it would greatly slow us down.

If we had staff to dedicate directly to this then it wouldn't be an issue. But paying for a managed service that gives us production grade data access is a no-brainer for any non-trivial application we build.

Re:Digital Ocean Managed Databases by menacingly on Wednesday October 24, 2018 @03:26PM (#18295565)
and unless you're one of the elite few for whom good HA is actually easy, your attempts will likely end up with something that you _believe_ is as available as RDS
Re:Digital Ocean Managed Databases by rhizome on Wednesday October 24, 2018 @05:56PM (#18296798)
For a lot of situations, MySQL with backups and a hot standby is fine.
Re:Digital Ocean Managed Databases by tracker1 on Wednesday October 24, 2018 @04:07PM (#18295876)
It's not about when things are going well... anyone here can setup a DB instance and run against it. It's failover/HA or recovery options that are not considered by most. Not everyone can afford to take a half a day or more to setup for backups, or read mirrors, or failover, other clustering options. Not to mention actual recovery modes.

I'm happy to pay a few dollars a month for someone else to automate.

Re:Digital Ocean Managed Databases by irrational on Wednesday October 24, 2018 @08:02PM (#18297547)
It's not just the database itself, it's everything else you have to do to do it right. How will you do backups and replication? How will you recover? What are the ideal configuration settings for your particular situation? What about authentication, roles, open ports, allowed ip address ranges, etc.
Re:Digital Ocean Managed Databases by pdimitar on Wednesday October 24, 2018 @11:21PM (#18298356)
Yep, that's my main motivation for not even attempting it. There are a ton of security settings alone. I am not gonna be the idiot who will let a 14-year old bored script kiddie into my VPS-es so they can have a laugh at my expense.

I prefer the managed services. Save for the high availability you get tons of best security practices -- all for a few bucks a month. It's usually a such a crazy cheap deal it's almost not fair to them.

Re:Digital Ocean Managed Databases by mountainofdeath on Wednesday October 24, 2018 @03:28PM (#18295578)
Running your own DB is a recipe for disaster UNLESS you know what you are doing and can invest resources continuously in keeping it up. If you have a good DBA, it probably isn't too much of hassle as long as you scale up with the number of DBs and you have automation to help along the way. However, at that point you are almost to a hosted solution anyway.

For hobby projects, a single self-managed instance is fine. For production in a business critical environment, much more thought needs to go in.