6 ms·
Learning the difficulties of self-hosting is a rite of passage for tech minded people. It seems nearly everyone goes through a “How hard can it be?” phase wher
by PragmaticPulp 3y ago
Learning the difficulties of self-hosting is a rite of passage for tech minded people.
It seems nearly everyone goes through a “How hard can it be?” phase where self-hosting seems like it will be a trivial way to save a lot of money. Then you get to learn about all of the things that can, and will, go wrong over time. Great learning experience.
And then there are the rose-colored glasses people who seem to forget all of the troubles they go through with self-hosting. A few companies back we had a guy who insisted on self-hosting some things on premises to save on SaaS costs. The amount of time we spent waiting for him to figure out why the server was misbehaving each week easily cost several times more than any hypothetical savings. Yet when you ask him, he’d claim it was virtually hassle-free. Management liked it because it “saved a lot of money”… as long as you ignore the cost of the time we lost to dealing with it.
- api 3y agoWhere I always go with this is to ask why our software is so damn horrible that it requires this much babysitting. Self hosting could be trivial if our software wasn’t slop. I wonder how much we spend babysitting slop (either directly or indirectly through SaaS) vs how much it would cost to invest in engineering around automated and reliable deployment and resilient software? Highly polished distributed file systems, databases, and orchestration tools that incorporated automatic replication and fail over would be a great start. Don’t just say “it’s hard.” Of course it is. But is it cheaper to do this or to babysit rickety piles of junk? Another possible way out is AI sysadmins. I wonder how far we are from AIs that can admin a cluster including upgrades and disaster recovery?
- deleted 3y ago[deleted]
- hattmall 3y agoI can't imagine having to unfuck the complicated systems set up by an AI sysadmin when the system running the AI goes down.
- arcanemachiner 3y agoUnderstanding how a system works is so 2022. Just let the AI dig you in deeper.
- deleted 3y ago[deleted]
- numpad0 3y agoI think AI should be used to cut down crufts. It just makes no sense to me that Linux Kernel boot images are, how much? A gigabyte?
- tredre3 3y ago> It just makes no sense to me that Linux Kernel boot images are, how much? A gigabyte? I guess the reason it doesn't make sense is that you're living in your own imagination where nothing is obligated to be sensical! The current boot image (vmlinuz) on my debian system is 6MB and the initrd is 40MB.
- genewitch 3y agono. > 11M Apr 6 12:14 vmlinuz-6.1.19-gentoo > 4.6M Apr 6 12:14 System.map-6.1.19-gentoo And that's a full desktop QEMU "server" - and i don't use initrd, because i don't need every driver in the tree, just the ones that work for my system. No AI needed. You boot a "kitchen sink" kernel, lspci -k, note down what it says, then just enable those things in the kernel and build it. Even ubuntu being "quite supportive" is 30-45MB. The kernel source tree is over a gigabyte, but that has to support everything it supports - arm, risc-v, x86_64, etc. > 2.2G linux-6.1.19-gentoo/
- wly_cdgr 3y agoOur software isn't horrible. Our software is pretty good, but reality is horribly unpredictable, complicated, and replete with edge cases.
- michaelt 3y agoOur software is kinda horrible. I mean, no other industry insists that users accept weekly automated updates because their products have so many critical security bugs.
- cdogl 3y agoNo other industry is capable of automating weekly security updates, basically by definition.
- omniglottal 3y agoIf "handling edge cases" is not something our software is specifically designed to do, then it's horrible.
- askiiart 3y agoAnd don't forget, the issue is always DNS.
- genewitch 3y agoDid Not Service
- dylan604 3y ago>Management liked it because it “saved a lot of money”… as long as you ignore the cost of the time we lost to dealing with it. bean counters tend to not evaluate your time as lost money. they are paying you anyways, so sunk cost fallacy or something. as long as they are not having to pay an invoice, they are "saving" money
- uoaei 3y agoIt's the converse of Goodhart's law -- if it's not measured/itemized, it's not part of the objective function for optimizing (costs).
- EddieEngineers 3y agoAbsolutely. The number of times I’ve pointed out a paid tool for $10pm is cheaper than a days salary per month to build in-house and maintain…
- ownagefool 3y ago10 in total or 10 per seat? SaaS mostly exists to extract profits perpetually. This doesn't mean it's not sometimes worth it, but when you add all the licenses together, there tends to be considerable savings if you're willing to self-host. In reality both sides of the debate are often wrong.
- EddieEngineers 3y agoThe one I think about was when I was building a 3D model of a new office in Unity and the options were either purchasing a material or trying to design one myself with basically 0 experience of doing so. Something like $40 for the material or however long it'd take me to work it out. The $10 option was genuine though, it was for some SaaS tool to monitor endpoints and text if things broke (about 9 years ago when I had basically zero coding experience) - so just one seat, or me trying to hack something together with text/email notifications and a nice UI. Even now I'd probably still prefer using something like that over writing something in-house, although I'd be more happy to look at self-hosting an open source option.
- explorer83 3y agoIt's liberating to know that my emails can't be wholesale data mined or someone can't take down my web project if I commit some ToS thought crime. But doing it for clients was a ball-and-chain that I have no desire to do again. So for personal stuff it's great. For business stuff it's like adopting a pet that you can't leave alone too long. I would keep business stuff outsourced.
- justinclift 3y ago> I would keep business stuff outsourced. Maybe with the exception of Auth? Having some external SaaS startup be in control of your user database can be a bit nerve wracking. Especially if they get acquired by someone terrible. I'm personally glad that Auth0 wasn't acquired by Oracle. What a nightmare scenario that would be... :D
- Eduard 3y agoWithin the runtime environment spectrum's opposing ends self-hosted and SaaS, there exist several more choices, of which I consider dedicated servers at some hoster the sweet spot for most projects/businesses, big and small.
- tornato7 3y agoI have recently ventured into home-hosting some non-critical services and it's awesome. I can get 5Gbps residential internet and a dedicated IP through AT&T fiber, I have Solar+PowerWall for uninterrupted power... Once I got through the first few weeks of Network manager and router problems, I've had zero downtime the past 6 months. Since our workloads are very SSD and bandwidth-heavy, both of which are absurdly expensive on public clouds, we hit breakeven to our cloud services in less than two months.
- justinclift 3y agoYeah, it's good when your internet connection is really reliable. As a counterpoint to this, at my last house in Melbourne (Australia) I was thinking of doing the same. We have a "National Broadband Network" (NBN) deployed that most residential customers in the country are hooked into. Shortly after moving into the house, the NBN needed to upgrade the network in the area. So, multi-hour outage. Then the same thing happened about 2 months later. Thus, any idea of self hosting from my house was dropped and we've kept on using Hetzner. ;)
- croutonwagon 3y agoI use a vps for some things (my blog thst no one reads, or my teamspeak server for me a couple buds to use) but I still self host my plex, miniflux etc from home. It works well enough.
- justinclift 3y agoYeah, for those purposes it'd be fine. I was more looking to run stuff which is fairly actively used (~1/2 million inbound connections per month) though doesn't need high bandwidth. For that, multi-hour outages isn't going to work. :/
- devjab 3y ago> The amount of time we spent waiting for him to figure out why the server was misbehaving each week easily cost several times more than any hypothetical savings. I’m not going to argue with your points, but we’ve spent maybe a months worth of man hours figuring out why some SaaS service wasn’t working this year. Only for it to be because some Azure or Office365 or Sharepoint online service wasn’t healthy, and, to be fair, because some of our systems aren’t build very maintainable so that it takes a ridiculous amount of time to figure out what is wrong. Still, it would’ve probably cost us maybe a work-weeks worth of time if we were more competent, which sort of goes against the SaaS idea when the licensing is also approaching the cost of self-hosting and hiring a Sharepoint person. Well, if a Sharepoint person existed of course, but I bet you get my point.
- caponate 3y agoWe are a probably one of the small subset of companies that have moved things back in house and off of 365. We have a lot of data and the previous IT guy just lift and shifted everything to the cloud. There was a lot of problems so we moved it back to our own data center... Funny no one complains about things being slow anymore.
- deleted 3y ago[deleted]
- rcxdude 3y agoI dunno, my experience has been it's way more straightforward than faffing about with cloud services. It's not quite zero maintenance, but it's really not a significant portion of my time (and the cost savings are substantial!). And that's work. My personal self-hosting I don't think I've actually logged into for more than a year.
- pjc50 3y agoI had an epiphany recently about the "servers are cattle, not pets" wisdom: every home server is necessarily a pet. With all that that implies.