SQLite the only database you will ever need in most cases (2021)
This sentiment pops up regularly on HN, and I&#x27;ve seen at least one article per month for the past few months, but the trouble is, none of them seem to help you actually deploy it. They assume you&#x27;re comfortable spinning up public web servers.<p>If you want to use a PaaS to deploy an app, because you don&#x27;t want to spend your time learning to be a sysadmin, then all the tutorials are going to put you on the Postgres path, because that&#x27;s what&#x27;s supported. (Of course, you&#x27;ll then end up paying $15+&#x2F;mo for Postgres, which is hilarious for most hobby projects storing 50MB of data.) But in reality, you could just scale vertically on one machine and be completely fine. No need for &quot;distributed&quot; anything, in theory.<p>I took a shot at productionizing SQLite here as an experiment: <a href="https:&#x2F;&#x2F;cheapo.onrender.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cheapo.onrender.com&#x2F;</a>
But I&#x27;m not sure I did it right, because I don&#x27;t have much experience working below the level of a PaaS. I&#x27;m an application developer and I <i>do not want</i> to become a release engineer. I resent even having to learn Docker. :-)<p>Anyway, if somebody wants to nitpick my Flask+SQLite deployment, I&#x27;d really appreciate it, because it seems really silly that people have to keep writing this stuff from scratch when 90% of hobby sites have the exact same needs. And the Fly.io&#x2F;Render configs would apply just as well to Node, Ruby, etc. <a href="https:&#x2F;&#x2F;github.com&#x2F;irskep&#x2F;cheapo_website">https:&#x2F;&#x2F;github.com&#x2F;irskep&#x2F;cheapo_website</a><p>Edit: Somebody got mad at the Docker bit. I tossed it in for effect, but I promise you I don&#x27;t hate learning new skills. I wish people would recognize that weekend coding projects should be fun, and sometimes that means avoiding certain kinds of things that a person experiences as difficult or frustrating. Arguing on the internet sucks, who knew?