27 ms·
This makes me tired. I know it's supposed to be humorous self deprecation, but it's soul crushing to see the pseudo real-time thought process behind the fantast
by Eiriksmal 2y ago
This makes me tired. I know it's supposed to be humorous self deprecation, but it's soul crushing to see the pseudo real-time thought process behind the fantastically over-engineered setups from my day jobs. All for someone's humble blog?
Obligatory HN footnote: My blog costs $6 a month to serve HTML from digital ocean. Landing in the top five links a few times on HN didn't make the Linux load blip much past 0.20. GoAccess analyzes nginx traffic logs for free, if you want to know what countries are scraping your pages.
- langcss 2y agoExactly same here using digital ocean app service. $5 a month as no backup is needed :-). A CDN does most of the heavy lifting.
- aitchnyu 2y agoTangential, is there a single provider which does (Python) app platform (web, cron, workers) and hosted Postgres plan costing 10 usd a month? A VPS still seems most compelling option for me.
- mattmanser 2y agoI'm going to blow your mind here. You can install any SQL variant yourself on any web server. I can be on the SAME MACHINE. Even a vps! Boom! Everyone used to do it all the time. For some reason everyone decided to pay more for less power and use the cloud instead. You still won't go above 20% CPU for even moderately complex CRUD applications. If you're really crazy you can add a cron job to send a backup each night to S3. And it'll take you all of an hour to do that.
- fragmede 2y agoserving static files via nginx is easy on the compute. I'm serving something a tiny bit more complex (instructions at http://funky.nondeterministic.computer http://funky.nondeterministic.computer) and the $5 DO droplet couldn't keep up. I had to upgrade to a $12/mo server to keep up.
- devbent 2y agoVultr does me cheaper than DO for a given amount of oomph.
- calvinmorrison 2y agoadd the extra $1/mo for backups and you're golden.
- umvi 2y agoIf you are only serving static content, it's hard to beat GitHub pages.
- rustystump 2y agoi love gp. this one almost didn't fit on it because I wanted to serve a small db file to the client rather pay for remote. Luckily I was able to keep it under their pretty generous file limit. https://github.com/dgerrells/liftme https://github.com/dgerrells/liftme https://dgerrells.github.io/liftme/ https://dgerrells.github.io/liftme/
- oefrha 2y agoGitHub Pages is pretty bad for static content with its universal Cache-Control: max-age=600 that can’t be changed. Your assets should have much longer expiry and hopefully be immutable. Just get a server, it’s cheap and you can do proper cache control and you’re not beholden to your Microsoft overlord.
- mertysn 2y agoIs there a workaround to this within the realm of GitHub Pages? My initial search concludes: without GitHub allowing custom headers, no
- tverbeure 2y agoWhat does that matter?
- oefrha 2y agoWith long expiry/immutable assets, only the HTML needs to be refetched from the server on refreshes or subsequent visits, instead of everything after merely ten minutes. On slow and/or high latency networks the difference can be huge. And you don’t even need to intentionally refresh — mobile browsers have been evicting background tabs since the dawn of time, and Chrome brought this behavior to desktop a while ago to save RAM (on by default).
- talldayo 2y agoMy main server costs $0, but only because I sold my soul to Oracle: https://www.oracle.com/cloud/free/ https://www.oracle.com/cloud/free/
- throwup238 2y agoSouls really don't go for much nowadays, do they. Faustian bargains used to at least get you some magic powers and renewed youth. "I sold my soul and all I got was a $5 virtual machine"
- raverbashing 2y agoYeah. I'd much rather pay $5 (or $20) to the little guy than to the giant company
- bravetraveler 2y agoNot as many little guys anymore, much consolidation :(
- mrecondo 2y agoGood times. I'm on Oracle too but now they decided to charge me for "compute" and nothing changed at my server :( Time to jump ship
- RockRobotRock 2y agoI tried it, and man is it just the worst interface in the world. $50/yr for a cheap VPS from somewhere else was worth it to me.
- hinkley 2y agoSo it cost you everything...
- BossingAround 2y agoThe last time I tried, I couldn't get a VM running for whatever reason. Any issues with OC?
- kgdiem 2y agoAny reason not to use S3 static hosting and cloudflare? I host at least 4 sites for between $0.03-0.1/month this way.
- booi 2y agoI do this too! It’s kind of a pain to set all the right headers and such though. I use a deployment tool called s3_website but it seems abandoned…
- LVB 2y agoI did that for years but have recently switched to Cloudflare Pages. Cost are negligible either way, but Cloudflare auto publishing straight from a GitHub webhook out of my repo is slightly fewer components.
- tyre 2y ago> All for someone's humble blog? Maybe they did it to have fun
- jstummbillig 2y agoI am guessing here, but part of the critique might be that definition of fun
- SenHeng 2y agoA lot of places I've worked at never gave me the chance nor opportunity to use all the fanciful technologies we read about so often. Building your own blog was often the only outlet to explore them.
- ENGNR 2y agoIt seems like just a practice run to give the latest fancy hype a spin. Bonus points - they got a blog out of it too.
- mosselman 2y agoI am sure he had a hell of a lot of fun though.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- ilrwbwrkhv 2y agoI think humans are tinkerers. Given a choice between utilitarian productivity and tinkering, unless it's a life or a death situation, people will go ham on the tinkering. Especially for such low risk things as one's personal blogs. Now what is maybe a bit strange is companies like Vercel having massive valuations because of this. I said in another comment somewhere does anyone actually use them beyond the free or low cost tiers?