posted in Selfhosted

A solar powered website that goes offline when there's no power

This website made me reconsider if 99.9999% SLA and always online is really that important for lots of websites. I used to self-host my own server in my own apartment, but gave up on that after my internet provider had their first major outage that lasted almost a week. Also I didn’t want to worry about the fire hazard, or the server going down when I was traveling etc.

But a solar powered server seems interesting, if the batteries could be made fire safe.

solar.lowtechmagazine.com/power/
enPage

Replying to an earlier post

Those do actually go down.

That’s the point I’m making: when those examples go down unplanned, in particular hospitals and the power grid, in particular the examples you gave, those can be catastrophic events. I.e., if we ignore planned downtime, then these businesses really need five lines of reliability during the times they are expected to be up.

I agree with the overall point that the average business doesn’t need five nines of availability, but I wanted to point out that there are definitely businesses that do.

Replying to an earlier post

There are plentiful scenarios where 10 minutes of sequential downtime would be a critical issue. Say you’re a telecoms or internet provider - even a one minute delay to a life-saving message can be enough for someone to die.

Furthermore, lots of things are interconnected now. Your business might be able to handle 10 minutes of downtime, but lets say my business relies on 12 different service providers like you, who each have 10 minutes of downtime during a week using your rationale. That could up being 2hrs of downtime each week.

Replying to an earlier post

Companies claiming 99.9999 uptime is an absurd goal for a SLA, and wouldn’t even survive a small internet outage like a DDoS attack or Akamai outage. I remember in the 90s selling the idea of 5 9’s - 99.999% on my resume until some manager who Interviewed me asked me to state the expected downtime. I stopped claiming that number because it’s impossible without full active redundancy in different locations and not dependent on external providers like cloudflare ever going down.

And please don’t argue maintenance windows “cover it” because that’s not how they work in the real world today.

Downtime per year:

  • 99% ~3.65 days (5,256 min)
  • 99.9% ~8.77 hours (526 min)
  • 99.99% ~52.6 min
  • 99.999% ~5.26 min
  • 99.9999% ~31.5 seconds

For my home lab I’m happy my stuff is online and content I hardly lose access when there’s a power outage thanks to my ups. But if I tracked I’d be closer to 95%. Good enough but I can’t wait till I just don’t care to run anything.

Replying to an earlier post

Also, any non-trivial system has failure modes that are not binary. Like, if your convertible car has the roof stuck down you can drive it, but you will be sad if it rains. So, is the car “up” or not? Similarly, if your site has writes offline for a database upgrade, but reads work fine, is it “up”?

The concept is just advertising and something that makes sense to senior management, but provides no actual useful metrics.

Replying to @⁨Gekkonen@sopuli.xyz⁩

There’s a nifty project on Mastodon where someone is running an instance entirely on solar (and I think a battery?). They’ve been tinkering with some of the code to do things like optimise images for reduced weight or CPU cost.

The project is called @solaradmin@solarcene.community and the account for the person running it is on a separate instance, presumably so people can message them about problems: @smallsolar@techhub.social.

Replying to an earlier post

garage is a software project made for communal home hosting. Tech literates will talk about its S3 API but that’s the least interesting part: the most interesting is that it has been purposely built to be hosted on (actual) commodity hardware like second-hand nucs, running on flaky home power and internet and linked together through usual isps. Nodes may come up and down but the cluster withstands all of that.

Garage would be a pretty nice project to run a solar-powered mini-cluster. If sufficiently far from each other, you could even run without polluting batteries !

https://garagehq.deuxfleurs.fr/

Replying to an earlier post

Over a period of roughly one year (351 days, from 12 December 2018 to 28 November 2019) the server was up for 95.26% of the time. This means that we were offline for 399 hours (which corresponds to 16.64 days).

Not bad at all really, at least for non-mission critical sites. I have solar and I really like it. Solar power on two barns, and a lot of my security cams run on solar. I’m not sure if it’s the formatting of this site, or the grainy pictures, but it oddly reminds me of the Trojan Room coffee pot.

Replying to an earlier post

Well, the article did go on to provide better stats once they changed out the panel and battery:

Since then, the uptime has been 100% (March to September 2020), even though we have added a lot of content by making the website multilingual. This is due to the larger (brand new) battery but also to the better orientation of the smaller solar panel. The battery’s capacity will decline over time, so the higher storage capacity will make it last longer. If the uptime remains 100% through the winter 2020/2021, we will probably downgrade to a 20W solar panel.

Replying to @⁨Gekkonen@sopuli.xyz⁩

Interesting concept. I haven’t seen lowtechmagazine before, going to have to definitely check it out.

I spin down our development environments when they have sit idle for a period of time, not at all the same but makes me think deeper about the entire concept.

Update: This is a really cool website. I see some fun projects here too that I could have my kids work on!

Replying to an earlier post

That is literally the opposite definition to scalable. Scalable things don’t require twice the resources for twice the capacity.

Buy two instead of one is exactly the worst case scalability you can have.

95% of the world grid storage capacity is pumped storage hydro and batteries will literally never be able to compete because water is the cheapest energy storage medium we could possibly have at grid scale. North America was the world leader on PSH in the 1970-2000 but now China is eating our lunch and our governments no longer have the ability to start real infrastructure projects because of crony capitalism.

I can’t believe we’re watching China become the world leader in renewables while we pretend like batteries are a smart way of storing GWhs of power because that’s the most profitable solution to the private sector.