4 ms·
It's not actually as bad as it looks as long as you're disciplined in not trying to run every new shiny services that you discover. Instead, what I do personall
by pwnna 8y ago
It's not actually as bad as it looks as long as you're disciplined in not trying to run every new shiny services that you discover. Instead, what I do personally is to try to host the minimum number of services where each can do many things. This reduces the maintenance overhead of running a lot of "microservices". The remaining services you host should be either well maintained, easily exportable/standard, or be understandable such that you can maintain it yourself in 5/10 years time when no one pushes updates for it anymore.
The snippets thing is a perfect example of this: I self-host a gitea instance for some private repos that I don't want to share with Microsoft. The same instances also host a snippets repository, where I can create snippets directly via the web ui (even have features like revisions/categorization via directories). The instance is already backed up using an existing system, which also lowers the burden of having to setup backup for yet another app.
- ocdtrekkie 8y agoSandstorm.io or Cloudron.io like platforms can effectively fix this. It's possible to have a one-off niche app, but operate it in an isolated container and run it from a package format that doesn't go significantly out of date. Sandstorm app packages circa 2014 still work fine, so as long as the overarching platform gets updates, it's safe to run pretty much anything inside it.
- pwnna 8y agoI'm not sure if it makes things better. One of the problems is the maintenance load for 10-20 year horizon. One of niche app that you dont write yourself usually don't have that kind of support timeline, especially if the data storage mechanism based on something other than plain text (and possibly sqlite). This means that you'll more likely have to service it during that time frame. Best to keep it simple and reuse something more basic/universal rather than deploy an app that gives you a fancier UI imo. Something like sandstorm adds even more complexity and dependencies for other applications, which brings up the maintenance burden for the long term. I don't know if I can trust it to exist in 10 years, so it's probably best not to use it for now unless I can patch it myself, which I'm not committed to do given that I can accomplish most of what it does with standard linux utilities that I'm already familiar with.