Remix.run Logo
huijzer 2 hours ago

What DB do you use? I tried the same for while but eventually gave up because it was incredibly restrictive and not much cheaper than a self managed VPS with some Docker containers. I mean the biggest thing that could happen to me is landing on the HN front page and a $5 per month VPS can manage that easily

jddj 2 hours ago | parent | next [-]

You won't beat a good self-managed VPS with some docker containers unless you start adding criteria like SLAs and whatnot.

Then you'll still not beat a good self-managed VPS but you'll have someone else to blame

DanielHB an hour ago | parent | next [-]

I am not much of a devops person but running your own DB in a VPS with docker containers don't you also need to handle all this manually too?

1) Creating and restoring backups

2) Unoptimized disk access for db usage (can't be done from docker?)

3) Disk failure due to non-standard use-case

4) Sharding is quite difficult to set up

5) Monitoring is quite different from normal server monitoring

But surely, for a small app that can run one big server for the DB is probably still much cheaper. I just wonder how hard it really is and how often you actually run into problems.

csomar an hour ago | parent [-]

My guess is some people have never worked with the constraints of time and reliability. They think setting up a database is just running a few commands from a tutorial, or they're very experienced and understand the pitfalls well; most people don't fall into the latter category.

But to answer your question: running your own DB is hard if you don't want to lose or corrupt your data. AWS is reliable and relatively cheap, at least during the bootstrapping and scaling stages.

h33t-l4x0r 2 hours ago | parent | prev [-]

CF workers are v8 isolates FYI

csomar an hour ago | parent | prev [-]

AWS RDS. I have no intention of managing my own DB and the insanity that comes with that.