News for hackers. Stuff that matters.
Re:How to build a low-tech website? (2018) by KronisLV on Tuesday November 02, 2021 @03:34AM (#29078161)
This bit really caught my attention:

> In contrast, this website runs on an off-the-grid solar power system with its own energy storage, and will go off-line during longer periods of cloudy weather. Less than 100% reliability is essential for the sustainability of an off-the-grid solar system, because above a certain threshold the fossil fuel energy used for producing and replacing the batteries is higher than the fossil fuel energy saved by the solar panels.

This, in particular, is an amazing take:

> Less than 100% reliability is essential for the sustainability of an off-the-grid solar system

Saying that sacrificing uptime is a good thing for achieving a particular goal is a take that's so wildly out of line with what most of the industry believes is refreshing, because it really makes you think. What would the world look like, if instead of being obsessed with SRE we simply assumed or accepted that there will be downtime, and treated it like something perfectly normal. Maybe a nice message at ingress/load balancer level, telling everyone that the site will be back in a bit.

I have no illusions that any company would want something like that, or that it's even feasible for many industries, e.g. healthcare, though the Latvian "e-health" system is an accidental experiment of this at the cost of around 15 million euros of taxpayer money: https://www-lsm-lv.translate.goog/raksts/zinas/latvija/par-e... .

However, if companies have working hours, why couldn't websites? What a funny thought.

Edit: on an unrelated note, it's wild how different setups can be.

For example:

> The web server uses between 1 and 2.5 watts of power...

While at the same time, i have two servers with 200GEs (essentially consumer hardware) running in my homelab, with a TDP of 35W each, though with the UPS and its inefficiencies, as well as the 4G router, the total energy consumption that i have to deal with is around 100W. Granted, i also use them for backups and as CI nodes, but there's still a difference of 20 - 50 times more power usage between one of my servers and one of theirs. I guess one can definitely talk about the differences between x86 and ARM there as well.

Re:How to build a low-tech website? (2018) by yakubin on Tuesday November 02, 2021 @06:31AM (#29079277)
One of my pet-peeves is how common it is for applications these days to assume you always have a reliable Internet connection. The shift to webapps makes the whole system really fragile. All it takes for an app to become unusable for everyone is a failure in just a couple nodes in the system.

I don't use GitHub for work, but it's always amusing to see the cries of people who do, when it does down from time to time. The ability of many companies around the world to continue operating depends on just one company continuously making the right calls.

In the future, when Ubisoft's servers go down, I won't be able to play Assassin's Creed games anymore, even though the servers don't really provide any value to me as a player.

On Spotify I keep downloading the same songs over and over again. Poisoning the environment more than if I got a CD. These days I try to buy songs to download once and then play in my favourite offline music player.

And of course SSH, the "secure shell", application which doesn't really optimize for shells. Responsiveness of typing things in the shell prompt relies on the quality of the Internet connection and the CPU load on the server machine - a process during which the server doesn't really have anything interesting to say.

I'm working on the side on creating a company and those opinions lead me to choose the harder path of desktop applications which don't need Internet connection for anything that doesn't require it by definition. They're more resilient and comfortable to use. I'll probably fail, but I really can't make any other choice at the moment, I need to at least try and see for myself.

Re:How to build a low-tech website? (2018) by xena on Tuesday November 02, 2021 @06:52AM (#29079407)
When those Ubisoft servers go down for good, the pirated copies of those games will be the ones preserved forever instead of the release ones.
Re:How to build a low-tech website? (2018) by throwaway946513 on Tuesday November 02, 2021 @09:56AM (#29081255)
See Driver: San Francisco

One of my favorite games, if not overall favorite. It's impossible to find a new copy now. Any legal copy you find is likely only a CD-key from some reseller site, or a physical disc for PS3/Xbox 360.

It's not available from Ubisoft's store, nor Steam's store (where I purchased my copy).

Re:How to build a low-tech website? (2018) by nextaccountic on Tuesday November 02, 2021 @09:37AM (#29081005)
There are more responsive alternatives to ssh, like mosh https://mosh.org/ (discussed recently https://news.ycombinator.com/item?id=28150287)

And uhm.. eternal terminal? https://eternalterminal.dev/ (discussed in 2019 https://news.ycombinator.com/item?id=21640200)

And, perhaps others? There's this article https://console.dev/articles/ssh-alternatives-for-mobile-low... (edit: I just submitted it to HN https://news.ycombinator.com/item?id=29081008)

Re:How to build a low-tech website? (2018) by ehnto on Tuesday November 02, 2021 @08:54AM (#29080483)
> I'm working on the side on creating a company and those opinions lead me to choose the harder path of desktop applications which don't need Internet connection for anything that doesn't require it by definition. They're more resilient and comfortable to use. I'll probably fail, but I really can't make any other choice at the moment, I need to at least try and see for myself.

Very refreshing, I really appreciate that choice. As humans in tech I'm sure it's frustrating that everything requires accounts and constantly online services, since we can imagine the software working perfectly fine without it. Games are especially nefarious with account requirements, but even different work software will fail without an account. Using a modern 3D art authoring pipeline can easily have you logged in to two or three services while you work.

Re:How to build a low-tech website? (2018) by MisterTea on Tuesday November 02, 2021 @11:52AM (#29083046)
> On Spotify I keep downloading the same songs over and over again. Poisoning the environment more than if I got a CD. These days I try to buy songs to download once and then play in my favourite offline music player.

I buy all of my music through bandcamp, download the FLAC files to my home server and play those. I prefer to pay an artist for their work directly or a label who might offer a physical or shirt/patch/etc. I also like the concept of buying an album because often times the album is a complete work, not a loose collection.

I tried spotify for a few days and it was a poor experience as the suggestions were terrible, the selection weak, plus they barley pay small artists. No thanks.

Re:How to build a low-tech website? (2018) by rakoo on Tuesday November 02, 2021 @09:59AM (#29081303)
Totally agree with your points, but for SSH in particular mosh (https://mosh.org/) specifically answers the issue of SSH responsivity. The client optimistically renders what should happen on the server, and the server confirms when it can.

> I'm working on the side on creating a company and those opinions lead me to choose the harder path of desktop applications which don't need Internet connection for anything that doesn't require it by definition. They're more resilient and comfortable to use. I'll probably fail, but I really can't make any other choice at the moment, I need to at least try and see for myself.

Is that in line with the offline-first movement ? I can only cheer you on this journey, because constant connectivity eats our focus and our planet. I'd love to see what you come up with :)

Re:How to build a low-tech website? (2018) by BTCOG on Tuesday November 02, 2021 @02:23PM (#29085364)
Although a tad bit of a tangent, I've been fed up with the entire new past couple generations of game consoles needing to be online, and having no physical media. I've not had a gaming console since the Xbox 360 era due to this. I do not like needing to be always online to play a game, and I do not like how it can need to be patched and updated on a whim. I want to buy a game, play it how I want, and have the physical copy. I want it to be a finished product when I buy it. Devices and games (webapps, modern console games, even smart phones apps and games) that require being online, I hope to only be a fad. I won't support it.

As pertains to lowtechmagazine - Love these guys, love the idea, love the minimalist culture about it. Fully support it!

Re:How to build a low-tech website? (2018) by dave7 on Saturday November 13, 2021 @09:16PM (#29214921)
FWIW, the Playstation 4 and now 5 (disc edition only of course) make very sure that in the vast majority of cases, what comes on the disc is a properly working game able to be played to completion without the console ever seeing the Internet.

This is not really the case on Xbox.

Re:How to build a low-tech website? (2018) by TheRealDunkirk on Tuesday November 02, 2021 @10:00AM (#29081326)
> I don't use GitHub for work, but it's always amusing to see the cries of people who do, when it does down from time to time. The ability of many companies around the world to continue operating depends on just one company continuously making the right calls.

Your general point is taken, but, yet, in this particular case, git is the (or "a") perfect answer to the host not being available. Other remotes could be used to route around the failure.

Re:How to build a low-tech website? (2018) by yakubin on Tuesday November 02, 2021 @10:34AM (#29081868)
Git - yes, GitHub (issue tracker + CI) - no. That's one of my favourite parts of Git actually - how much you can do offline.

In the companies I've worked for so far, issue tracker and CI have been self-hosted along with the rest of company infra. One fewer point of failure.

Re:How to build a low-tech website? (2018) by Breza on Monday November 15, 2021 @09:35AM (#29227857)
The internet was designed to survive any single point of failure. Over the past 20 years, we've seen the internet become massively reliant on a handful of big players. Now when there's an outage, we see thousands of websites go down at the same time.
Re:How to build a low-tech website? (2018) by zardo on Tuesday November 02, 2021 @12:56PM (#29083953)
I tried using the Libby app, my local library system uses it for digital "loans".

You can download your checkout, but the app requires an internet connection. No signal, no audiobook.

Re:How to build a low-tech website? (2018) by ClumsyPilot on Tuesday November 02, 2021 @07:19AM (#29079594)
"Less than 100% reliability is essential for the sustainability of an off-the-grid solar system"

100% reliability is a terrible, dangerous lie.

People make mistakes.This is well and good when we are talking about entertainment and Instagram.

However we are now adding fragile Internet-connected code in critical infrastructure: cashless society means that if your bank is down, you can't get food.

All cycling stands in London need to talk to their server, and when it's down, you lost ability to get transport.

Same for public transport and Uber - if they fail in during a winter night, someone somewhere will freeze to death.

The door dialing in my house needs the internet to do IP-calling to your phone. They were digging up my street and cut the cable, and I was stuck in the cold for an hour.

This is going to spread - imagine a failure of the system managing running water, or god forbid the suer?

Re:How to build a low-tech website? (2018) by gnur on Tuesday November 02, 2021 @03:47AM (#29078239)
> Less than 100% reliability is essential

This is actually a take most SRE's would / should believe. Every added 9 to the reliability increases the price exponentially. Finding the correct level of reliability is something most companies should focus more on, because sometimes a single physical machine that could go down once a year for a few hours is perfectly capable of providing all the resources a medium seized business could need. Proper backups, monitoring and recovery runbooks can even decrease the downtime of such a simple system to minutes, while easily saving you maybe thousands per month.

Re:How to build a low-tech website? (2018) by sokoloff on Tuesday November 02, 2021 @08:23AM (#29080178)
I was surprised by the difficulty in getting a company to accept a target of “three nines five” (0.9995) at a time when they were growing rapidly and launching new physical and digital products on a rapid and continuous basis. I prevailed, but what I expected would be a five minute conversation took a couple 45 minute discussions (reducing the work uptime of people in those discussions to 0.9993 for the year... :) )

Slowing your young company down in order to turn 0.9995 to 0.9998 is almost always a terrible trade. Even turning 0.995 to 0.999 is hard to justify in most places. (That improvement saves about 35 hours of downtime per year.)

Re:How to build a low-tech website? (2018) by auggierose on Tuesday November 02, 2021 @08:51AM (#29080449)
Is there a rigorous framework to arrive at those targets? How do you know what you built has 0.9995 uptime, and not just 0.99?
Re:How to build a low-tech website? (2018) by sokoloff on Tuesday November 02, 2021 @09:01AM (#29080556)
By far the easiest way is to measure it after the fact, but I know that’s not what you’re asking... :)

We did do some "analysis", meaning that we made some underlying guesses and multiplied them together, but the real value is in getting people to think that 1.000 is not the actual goal-line, then tracking and doing RCA on all the outages, bucketing them into categories so you know whether to invest more in diverse networking, software testing, HA for DB servers, failover sites, zero downtime releases, etc.

Many times, you can avoid entire massive projects (“we need to be hosted in 2 geographically diverse data centers for availability” “uh, no we don’t; we have a budget of 262 minutes of downtime per year and that project will save us less than 60 minutes per year on average, using the best case assumption that our own changes to implement it cause no downtime”)

Re:How to build a low-tech website? (2018) by munk-a on Tuesday November 02, 2021 @02:13PM (#29085205)
If you're a large corporation one way to get a good idea is by having lots and lots of fire drills around various disaster scenarios and time how long actual service restoration and re-routing takes. For other companies it's just guess work.
Re:How to build a low-tech website? (2018) by rglullis on Tuesday November 02, 2021 @08:25AM (#29080196)
Around 2012-2013 I was working on an online education platform. We had a whole web application that would serve video content, collect student answers and analyze in real-time(ish) the student progress in order to find out the next action for the student - e.g, if the student starts to get questions wrong that they were getting right before, we'd take it as a sign of fatigue and would recommend them to take a break. Or if the student was showing that has mastered a topic, we would jump ahead in the lesson to something else that needed more work.

So we needed a web server, a database, a queue system to run these heuristics and we needed to host/distribute ~100GB worth of content, most of it video.

We were bootstrapping, so I was trying to (1) save as much as possible on operational costs and (2) punt on all the "scaling issues" that would require more of my devops time that would be better spent developing and adding more features. I deployed the whole system on a single server from Hetzner: Django app, Postgresql, Redis for caching and session management, RabbitMQ for celery. All in one machine with 32GB of RAM and a RAID system with enough capacity to hold the data. I think it was costing us less than 50€/month. That is all we needed to (easily) serve ~800 students and the staff who would author new content.

In the end we delivered everything we promised to our first customer, but we were not able to grow our revenue as much as we expected, so by end of 2013 we just put the whole company on the backburner, got a small maintenance contract with the main customer and went on to find another jobs.

From end-2013 until 2018, I needed only to make sure that our domains and SSL certificates were up-to-date every six months, upgrade django packages in case of security issues and deal with ONE incident (in 2016 IIRC) where a disk failure put the array in degraded mode, which I solved by getting a new server at Hetzner (better specs and cheaper, after all those years), warning the customer that the service would be taken offline for a couple of hours later in the day, rsyncing the content, restoring the database and redeploying the application with the fabric script.

This is one the projects that I am most proud of what was accomplished given all the constraints and made me realize the difference between a Software Developer and an Engineer. Yet, it translates to a very poor entry on an CV. We are too used to ask on interviews what people have done and what technologies they have used, but we rarely ask about the moments where it was best to avoid doing something.

Re:How to build a low-tech website? (2018) by y4mi on Tuesday November 02, 2021 @04:41AM (#29078569)
Esp if you consider bare metal servers. I'm currently paying 45€ for a Ryzen server with 64gb ECC ram and 1tb nvme storage (raid1).

The speed is incredible if compared to ec2 or root server performance from other vendors. Even if they've dedicated resources.

Re:How to build a low-tech website? (2018) by _3u10 on Tuesday November 02, 2021 @05:09AM (#29078772)
The cache misses alone mean the cloud should be cheaper than bare metal. In general you can buy outright any cloud service for about 3 months of the price of the cloud.

Why anyone would run their pointer chasing code in a heavy cache eviction environment is beyond me. The code is slow to start with, and then you make sure that none of your data is in the cache. Why you'd pay 10x for slower hardware makes no sense.

What people should be doing is running on bare metal and turning off all the garbage meltdown protections that kill performance. If you're not a cloud provider and you're allowing people to execute arbitrary code on your hardware, you've got much bigger problems than meltdown.

Re:How to build a low-tech website? (2018) by maccard on Tuesday November 02, 2021 @05:54AM (#29079057)
> In general you can buy outright any cloud service for about 3 months of the price of the cloud.

If you compare on demand lrice for cloud, sure. Reserved and spot instances change the balance significantly. If you're running a handful of servers, sure it's a no brainer. But when you start dealing with any sort of human cost (operations, it) the savings you get are dwarfed by the human costs because that's what you're paying for with aws and azure. And, when you're at mega scale you're negotiating separate deals anyway.

That's also not considering the value of the combined offerings. On aws for example, I can spin up a kubernetes cluster with rolling updates pushed by GitHub actions in less time than it took me to write this comment, and it will be usable and modifiable by anyone who has experience with aws or k8s. the cost savings of running my own infrastructure and managing all the moving pieces is dwarfed by the fact that the service provided is widely used and well known.

Re:How to build a low-tech website? (2018) by KronisLV on Tuesday November 02, 2021 @05:17AM (#29078816)
> I'm currently paying 45€ for a Ryzen server with 64gb ECC ram and 1tb nvme storage (raid1).

That does sound like a really good deal!

Until now i've only been using VPSes (apart from homelab servers as CI nodes etc.) because they're cheaper for the smaller sizes, but for comparison's sake, the cheapest VPS provider's (that i know of and trust) offering with 64 GB of RAM and 640 GB of storage would cost ~260 euros a month: https://www.time4vps.com/?affid=5294

Well, i guess there's also other VPS providers out there that can nearly match the price, like Contabo, though they do have mixed reviews: https://contabo.com/en/ (personally i just found their UI to be extremely dated and there are setup fees, but otherwise they were decent), though even then they'd cost anywhere from 30 - 90 euros a month.

Re:How to build a low-tech website? (2018) by y4mi on Tuesday November 02, 2021 @05:42AM (#29078980)
yeah, low resource VPSs are great value if you don't mind the performance too much.

I was using a Netcup root server with 2 dedicated cores/8gb ram before i switched to my current hetzner baremetal server. It only cost ~7€ per month, so much better value if i you don't mind that everything just takes a little longer.

i dont think i'll ever go back though. even using the shell on the baremetal server is so much more responsive vs the vps.

but for what its worth: you can get a VPS with similar resources (16 cores, 64gb ram, 2tb ssd) for 40€ with netcup.

Re:How to build a low-tech website? (2018) by bennyp101 on Tuesday November 02, 2021 @05:09AM (#29078770)
And anything that is static and needs to be up can just be cached at the edge somewhere, which is peanuts really, and means that if your bare metal goes down, you can still keep something up
Re:How to build a low-tech website? (2018) by kuon on Tuesday November 02, 2021 @04:58AM (#29078696)
May I ask you were you rent it?
Re:How to build a low-tech website? (2018) by bennyp101 on Tuesday November 02, 2021 @05:05AM (#29078735)
I pay about the same for a server from Hetzner - from the server auctions (https://www.hetzner.com/sb)

- AMD Ryzen 5 3600 6-Core Processor (Cores 12)

- 64GB

- 2 x 2TB HDDs

Re:How to build a low-tech website? (2018) by kuon on Tuesday November 02, 2021 @05:22AM (#29078861)
That's cheap.

We really underestimate the costs of running in the cloud.

Re:How to build a low-tech website? (2018) by jokethrowaway on Tuesday November 02, 2021 @06:46AM (#29079364)
It's mostly marketing of aws employees and professionals that built their career around aws price and complexity.

A great idea to be honest, the market willing to overpay for server will probably be able to pay more to you.

Re:How to build a low-tech website? (2018) by bennyp101 on Tuesday November 02, 2021 @05:32AM (#29078923)
I guess a lot of the cloud costs are due to not having to really manage anything yourself - you are essentially paying for a team of people to keep the 'server' up and running and make sure that things 'Just Work' (largely, anyway)
Re:How to build a low-tech website? (2018) by goodpoint on Tuesday November 02, 2021 @06:54AM (#29079424)
No amount of money makes a system 100% reliable.

On small platforms we are still stuck into the 1990's approach of having one reliable system.

We need distributed[1] systems and protocols even in small applications. Easy to use and self-healing.

[1] No, I'm not talking about blockchains

Re:How to build a low-tech website? (2018) by Spooky23 on Tuesday November 02, 2021 @09:46AM (#29081117)
My former employer use to target 99% uptime for non-essential systems. It made a ton of sense, the cost of downtime was often incredibly low, while the cost and complexity of making it 4 9s was really high.
Re:How to build a low-tech website? (2018) by handrous on Tuesday November 02, 2021 @03:27PM (#29086269)
There's a huge jump in cost and operational style, to go from two nines to three, because it means you have to have 24/7 support coverage or an on call rotation (and good alerting, or else it's for naught) for nights. Two nines just means you need someone to check their messages sometimes, during the day, on weekends. One nine, and you can forget about the weekends, too—and that's actually sorta OK for certain applications.

Three nines also means you can't afford to intentionally take a system down to work on it, or you'll burn all your "oopsie" downtime. That means a ton more work in infrastructure and deployment processes, than two nines.

Re:How to build a low-tech website? (2018) by Spooky23 on Wednesday November 03, 2021 @04:53PM (#29100123)
If you’re not a global enterprise, you just don’t respond off hours.
Re:How to build a low-tech website? (2018) by jamespwilliams on Tuesday November 02, 2021 @10:07AM (#29081439)
The Google SRE book, which I think is a reasonable reflection of SRE culture generally, actually mentions this in the very first chapter.
Re:How to build a low-tech website? (2018) by colechristensen on Tuesday November 02, 2021 @03:50AM (#29078249)
B&H Photo website observed the sabbath and won’t sell you anything during.

There are things which are actually life critical that you want to be up and then there’s everything else, many people have really strange opinions about downtime and treat it like some kind of immorality.

I don’t really buy the power arguments about extra capacity but that’s a big thing.

Re:How to build a low-tech website? (2018) by rambambram on Tuesday November 02, 2021 @06:33AM (#29079297)
In The Netherlands there are (or were) Christian political parties shutting down their websites on Sunday automatically.
Re:How to build a low-tech website? (2018) by belter on Tuesday November 02, 2021 @08:08AM (#29080049)
For real? Do they request medical services to be up on Sunday or the Lord protects them? :-)
Re:How to build a low-tech website? (2018) by asoneth on Tuesday November 02, 2021 @09:55AM (#29081250)
I can't speak to the Christians, but even the most orthodox Jews I know support emergency services on the Sabbath -- and they'd absolutely drive someone to the emergency room if it came to that. Doing your best to observe a day of rest doesn't mean you can't choose to do work if it serves a greater good. (Whereas I'm pretty sure people won't die if they have to wait an extra day to order their camera equipment.)
Re:How to build a low-tech website? (2018) by belter on Tuesday November 02, 2021 @12:09PM (#29083279)
In the scenario you mentioned sounds tricky...

https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1553-2712....

Re:How to build a low-tech website? (2018) by asoneth on Tuesday November 02, 2021 @03:59PM (#29086626)
That's a great article and spot on.

And it's definitely complicated. Just because work necessary to preserve human life is allowed doesn't mean anything done in a hospital is therefore permitted -- a sizeable fraction of the work in a hospital is about bookkeeping, billing, insurance, scheduling followups, paperwork, etc which can wait a day or two without anyone dying.

Re:How to build a low-tech website? (2018) by yowzadave on Wednesday November 03, 2021 @12:38PM (#29097026)
In NYC, most hospitals have a special elevator that, on the Sabbath, continually stops on every floor. This is to help orthodox Jews comply with their commitment to not turning electric devices on or off--they just board the elevator at the floor they want and get off when it arrives at their destination, without ever pushing any buttons.
Re:How to build a low-tech website? (2018) by New_California on Tuesday November 02, 2021 @05:18AM (#29078824)
I love this website and the experiment. But you implying that more service downtimes is somehow progress of civilization is ridiculous. Civilization progress needs more reliability, not less.
Re:How to build a low-tech website? (2018) by vaylian on Tuesday November 02, 2021 @05:41AM (#29078971)
That's a very technologist perspective. But what about a more philosophical take? Life is not about technology or work. Life is about living. A bit of downtime and slowdown can be very refreshing.
Re:How to build a low-tech website? (2018) by WJW on Tuesday November 02, 2021 @05:55AM (#29079059)
Sure, but by taking your website down at certain times (or allowing the system to take itself down), you force your ideas about slowing down onto others who may or may not have time for that right now. It is actively hindering other people from trying to live the way they want (by reading about solar powered websites, in this case).

It does not really matter for the Low Technology website of course, but if you get into a serious car accident and the surgeon is like "sorry but our solar powered operating theater is down right now, that's just life sometimes" that would be a very unwelcome thing to hear.

Re:How to build a low-tech website? (2018) by asoneth on Tuesday November 02, 2021 @10:59AM (#29082246)
There exists a middle ground between everyone gets five nines of reliability (expensive) and everyone only gets three nines of reliability (people die in hospitals).

If we focus the same resources on providing reliability where it is needed most, we could actually improve reliability of outcomes. That is, for the same cost of providing a few hours of battery backup for the entire grid we could provide weeks of battery backup for hospitals and data centers.

Re:How to build a low-tech website? (2018) by snakeboy on Tuesday November 02, 2021 @06:44AM (#29079353)
Your example which is why everyone in this thread has been bending over backwards to emphasize that certain services (like medical ones) should aim for full reliability.

Suppose twitter/reddit/HN shut down for 10 hours a day.

Re:How to build a low-tech website? (2018) by WJW on Tuesday November 02, 2021 @07:02AM (#29079475)
Which 10 hours? Timezone differences alone would shut out large portions of the world. A service which is only up when I'm asleep or at work is not very useful to me.
Re:How to build a low-tech website? (2018) by snakeboy on Tuesday November 02, 2021 @08:36AM (#29080293)
And 90% of Twitter's problems would be solved if they weren't trying to be maximally "useful" to every single person on earth all the time.

10 hours was just an arbitrary number, but there are plenty of more creative solutions. Shut down every March, or Weekday mornings, or every other hour.

Re:How to build a low-tech website? (2018) by lostmsu on Tuesday November 02, 2021 @10:54AM (#29082168)
Philosophical take is useless here. This thinking only works on a primitive society, where life is wrapped around a relatively small group of people. Today we have supply chains that have 20+ components. If they'd have 5% downtime each, the entire chain would only work 35% of time.
Re:How to build a low-tech website? (2018) by threatofrain on Tuesday November 02, 2021 @07:15AM (#29079567)
> A bit of downtime and slowdown can be very refreshing.

That's up to the customer to decide. Insofar as we live in a world where customers decide the fate of businesses in a do or die way, I feel the conclusion is obvious. Either the customer shares your philosophy that your downtime is part of an enjoyable rhythm of life, or you die.

Re:How to build a low-tech website? (2018) by vaylian on Tuesday November 02, 2021 @08:03AM (#29079994)
Not everything on the internet is for-profit. The low-tech magazine website is a prime example of that.
Re:How to build a low-tech website? (2018) by asoneth on Tuesday November 02, 2021 @11:11AM (#29082423)
That's a good point, but note that providing reliability adds production cost as well. Services and businesses with guaranteed high reliability cost significantly more than those with low reliability, and I'd expect that cost to be reflected in their prices.

That's why guaranteed overnight delivery generally costs more than waiting a week or two for your package.

I work at a company that provides business services, and some customers are fine dealing with irregular availability of resources if it means the service cost an order of magnitude less.

It's not common in power yet, but in the future a hospital might pay $1/kWh for high-uptime power whereas someone else might pay $0.01/kWh for excess capacity provided as available to charge their car.

Re:How to build a low-tech website? (2018) by rakoo on Tuesday November 02, 2021 @01:00PM (#29084006)
Most websites aren't businesses. How do you vote with your wallet to decide you accept that a website slows down ? Even when a website is a business, you pay for the whole service; there is no competition on uptime alone.
Re:How to build a low-tech website? (2018) by New_California on Tuesday November 02, 2021 @09:07AM (#29080610)
"Technologist perspective" - BS, you can only afford to entertain your philosophical takes because of strong reliability of the services around you, from your grocery store being full of goods to electricity at your place, to HN being online.
Re:How to build a low-tech website? (2018) by KronisLV on Tuesday November 02, 2021 @11:12AM (#29082436)
To me, that sounds like perhaps choosing a lifestyle which has significant reliance on those services, while at the same time not accounting for any possible downtime and expecting everything to work - that's akin to running your application on a single VPS with no backups.

If there are any issues with the grocery store or the technologies in it, then perhaps it's possible to pay in cash. If there are larger problems with the grocery store's supply chain, i can just go outside to my greenhouse and get some fresh veggies. If i don't have a greenhouse, i have a bunch of beans and other canned goods in my cellar, as well as crackers and so on. If i don't have my cellar, i have a bunch of frozen meat in the fridge. If i don't have said meat, i have a rifle and a forest with animals for that. And if i don't have any of that, i can always just go to my neighbours and ask whether they have anything to share (or offer the same sort of help, should they be dealing with the same hypothetical situation, instead of me; things would only break down when everyone would be starving).

If there are electricity interruptions, i have a few UPSes in place. If the UPSes run out of power, then i have a diesel generator in the cellar (with the appropriate ventilation system in place). If i don't have any diesel, my house has a stove that burns wood and has central heating with radiators, as well as candles or a petroleum lamp, or even a flashlight with a generator for lights. And if HN isn't online, i'll just read a book, since there is a shelf with some lovely literature to be enjoyed, or will simply write something in my diary, as people do.

I'm saying this not to discredit the fact that many people choose to live in the larger cities, since there are definitely different advantages to that choice, however at the same time you have to consider the overall trends in society, when you take things as electricity or a stable food supply for granted, which may not always be the case.

That said, there are relatively few things that are truly time sensitive, such as having a supply of important life sustaining medication. I wouldn't expect my grocery store to have a 99.99% uptime, nor would i expect that even out of my electricity supply, hence the UPSes and generator, and HN going down wouldn't be the end of the world either.

And when we are talking about the greater supply chains that we don't see in our daily lives, honestly there always should be a business continuity plan in place - if your computer system goes down because of Y2K, a solar flare or the data center burning down, then you should be able to keep on trucking with calculators and some paper. Anything less is not all that responsible, if we're really talking about important domains.

Re:How to build a low-tech website? (2018) by asoneth on Tuesday November 02, 2021 @10:55AM (#29082182)
> Civilization progress needs more reliability

Not necessarily. Similar to software, each nine costs (in money, pollution, effort, etc) at least an order of magnitude more than the last, and at some point it's more efficient to focus on resilience elsewhere in the system.

Wind and solar are great but they're far too irregular to rely on so in places without hydro storage you're often left with either chemical batteries, which would be prohibitively expensive to support the entire grid for a few days, or fossil fuel peaker plants, which will ultimately result in coastal flooding.

One alternative has been to use demand response to pay people to cut back and dynamic (wholesale) prices to encourage people to conserve when supplies are low. Perhaps at some point electricity providers could even institute different prices for different levels of service. That is, one would pay $1/kWh for any capacity that requires less than an hour of downtime per year like servers and medical equipment, but $0.01/kWh for excess capacity used for vehicle charging that is irregularly available day-to-day. The "smart grid" and meters necessary to support this kind of thing don't exist, but may in the future, and adapting to this kind of irregularity would allow us to have a much lower-cost electricity grid.

Re:How to build a low-tech website? (2018) by KronisLV on Tuesday November 02, 2021 @05:54AM (#29079054)
What I'm implying is that it's interesting to consider an alternative point of view: where certain non-critical (at least to the greater society) systems would be treated as such, instead of paging people at 6 AM because a CRUD is down.

Reliability often comes at the expense of making some people's lives much less pleasant (especially in situations of underfunding or not having the corporation back any of your SRE initiatives), or, alternatively, with exponentially increasing costs, since all of the sudden everything needs to be high availability and have redundancy in place.

Consider the recent Roblox outage. No one died because of it, yet countless engineers were working around the clock to ensure the profitable operation of the platform.

When the Latvian Electronic Tax Declaration system goes down on the first day of the year when you can declare your taxes (basically every year), the ministry representatives shrug their shoulders and essentially say: "Nah, we can't make it cope with the load. Just wait a day." And you know, maybe they can't, but at the same time even so everyone still manages to submit their taxes eventually.

Thus, perhaps it's worth it to consider when and where we need the scalability and high availability, e.g. government centralized auth services under Latvija.lv which also went down because of the load and as a consequence people had to wait longer to sign up for COVID vaccines and couldn't use other systems until it was resolved: https://blog.kronis.dev/articles/manavakcina-lv-and-apturico...

Then, we should focus on those more important cases. Now, I'm not trying to suggest that the incompetence or dismissive attitudes are (always) okay, instead, I'm merely suggesting that we should consider our priorities and wonder what a more laid back environment would look like.

I still recall once sending a hotfix for a prod issue at 3 AM. I wonder what things would look like if instead of worrying whether a certain business process can take place at a certain date, the attitude would have been more like: "We'll just tell everyone to wait a day or two. It's not like our product is time sensitive."

Re:How to build a low-tech website? (2018) by threatofrain on Tuesday November 02, 2021 @06:52AM (#29079402)
You're talking about situations of what is essentially a de jure monopoly on a critical need. People sign up for COVID vaccines and file their taxes to avoid being screwed.

In places with competition the customer is the one who decides whether you are screwed. Is downtime from social media or news rather trivial? The business deadliness of downtime is different from the societal deadliness of downtime, but what significance this takes on is up to the customer to say, and the customer develops expectations based on the competition.

Re:How to build a low-tech website? (2018) by Aerroon on Tuesday November 02, 2021 @07:50AM (#29079870)
I am certain that people have missed filing their taxes because of the downtime. They scheduled time for it, got frustrated that it didn't work, and then forgot about it. Then realized too late that they didn't file their tax return. It almost happened to me because a bank had a scheduled downtime when I was doing my taxes and I couldn't finish it at the time. I only remembered a few hours before the real deadline...

Also, I got a vaccine almost a month later because our vaccine sign up page also had technical difficulties. I sat around in queue for 90 minutes to do an online sign up and all the times were already gone. The next time I tried and saw the queue I just closed the browser.

Also, these are things that you can go to prison for if you mismanage it. People are much more likely to put up with these screw ups, because they have to.

Re:How to build a low-tech website? (2018) by jokethrowaway on Tuesday November 02, 2021 @06:50AM (#29079389)
This. Also because if your energy source is solar, who cares if you're using a bit more power to provide extra reliability?

Heck, even just charging a battery with the extra solar power would provide better reliability.

I totally agree on saving power for users given that's a energy cost you pay N times - albeit I'd prefer some better defaults (in terms of colours and fonts).

I guess we need a better, lightweight browser.

Re:How to build a low-tech website? (2018) by jhgb on Tuesday November 02, 2021 @06:32AM (#29079283)
> Less than 100% reliability is essential for the sustainability of an off-the-grid solar system, because above a certain threshold the fossil fuel energy used for producing and replacing the batteries is higher than the fossil fuel energy saved by the solar panels.

I wonder if whoever wrote this has actually done the calculations. These days it's not really difficult to provide fairly reliable solar power by overgenerating while still beating fossil fuels - perhaps not beating them as much as with zero overgeneration, but beating them anyway. So I'd take the quoted text with a considerably large grain of salt.

Re:How to build a low-tech website? (2018) by ajsnigrutin on Tuesday November 02, 2021 @09:03AM (#29080568)
> However, if companies have working hours, why couldn't websites? What a funny thought.

Our banks have those, and it's a really shitty experience.

Yeah, sure, e-bank works, you pay, but if the person receiving the money is at another bank, that my bank has no extra contract with, I have to wait until the next workday for the funds to be transfered. If I want to buy something with a bank transfer on a friday night, the funds won't get transfered until monday morning.

Re:How to build a low-tech website? (2018) by kwhitefoot on Tuesday November 02, 2021 @09:42AM (#29081066)
You are in the US? In Norway it typically happens within the same day but my bank (SBanken.no) also offers instant transfers to other banks even at the weekend.

If both sender and recipient use a mobile phone service like Vipps then the recipient also receives the money immediately (within seconds) regardless of whether they use the same bank. I think similar services exist in other countries too.

Re:How to build a low-tech website? (2018) by anthk on Tuesday November 02, 2021 @04:21PM (#29086877)
Spaniard here. Yes, we have something similar like that.
Re:How to build a low-tech website? (2018) by nwsm on Tuesday November 02, 2021 @11:24AM (#29082611)
> Saying that sacrificing uptime is a good thing for achieving a particular goal is a take that's so wildly out of line with what most of the industry believes is refreshing, because it really makes you think. What would the world look like, if instead of being obsessed with SRE we simply assumed or accepted that there will be downtime, and treated it like something perfectly normal. Maybe a nice message at ingress/load balancer level, telling everyone that the site will be back in a bit.

The difference is that here, the downtime saves energy. "Normal" downtime is unintentional. Servers are still running, just in an error state. They may be constantly attempting to restart themselves at some level (looking at you, k8s). Users are still trying to hit them and their requests may be partially handled. Traffic may be pushed over to newly spun up instances.

We can accept that things happen and running large internet services is hard, and SREs and developers everywhere will rejoice, but it won't save energy.

Re:How to build a low-tech website? (2018) by yoz-y on Tuesday November 02, 2021 @04:09AM (#29078366)
> However, if companies have working hours, why couldn't websites? What a funny thought.

Because of day/night cycle these working hours would usually overlap. This would put people who can’t afford to do their administrative business on the internet during work hours at a disadvantage.

Re:How to build a low-tech website? (2018) by littlestymaar on Tuesday November 02, 2021 @06:46AM (#29079368)
> Saying that sacrificing uptime is a good thing for achieving a particular goal is a take that's so wildly out of line with what most of the industry believes is refreshing, because it really makes you think. What would the world look like, if instead of being obsessed with SRE we simply assumed or accepted that there will be downtime, and treated it like something perfectly normal.

My bank's website has been down for maintenance for 24h this week-end. And French government website for declaring VAT will be down for a few hours tomorrow.

Many people still consider downtime as normal. It's not trendy to talk about it, but downtime isn't such a big deal. (Going down because you cannot handle your peak load is very bad though)

Re:How to build a low-tech website? (2018) by ajsnigrutin on Tuesday November 02, 2021 @08:57AM (#29080520)
This depends.

If it's a planned downtime with stuff, people can plan around (eg pay your bill before the weekend), that's bearable.

But if the government wants you to do something (eg. declare VAT), but then the page isn't available, and they still expect you to do it, and you could get fined if you don't... that's a really shitty thing to happen.

Re:How to build a low-tech website? (2018) by littlestymaar on Tuesday November 02, 2021 @02:54PM (#29085828)
It's a social thing. When you know the service might be down when you need it at the last moment, you just plan and do things quite some time before the deadline so you don't get caught.

In the twenties century, trains in Spain where completely unreliable: they could leave one hour early, or 3 hours late, yet people would get fired if they couldn't get to work in time. But it still worked: people just didn't run into the train station 5 minutes before departure.

Re:How to build a low-tech website? (2018) by bennyp101 on Tuesday November 02, 2021 @03:46AM (#29078234)
"However, if companies have working hours, why couldn't websites?"

There is a UK Gov website that only works during certain times (I think it's something to do with DVLA) - although I assume that is a technical thing, rather than it being powered by solar!

Re:How to build a low-tech website? (2018) by blowski on Tuesday November 02, 2021 @08:21AM (#29080160)
Companies House used to have this. You could only register a new company 9am-5pm, Monday to Friday (and public holidays were also excluded).
Re:How to build a low-tech website? (2018) by rglullis on Tuesday November 02, 2021 @05:16AM (#29078814)
> However, if companies have working hours, why couldn't websites?

B&H Photo famously goes offline every Shabbat and I think it is great. It goes to show that you can have an sustainable and profitable business without sacrificing on principles.

Re:How to build a low-tech website? (2018) by Heneeque on Tuesday November 02, 2021 @08:07AM (#29080037)
I just don't think it is a real issue.

It is much easier to have it from renewable sources as your DC doesn't move and the CO2 to social benefit is so huge.

Imagine giving up all mass CO2 producers, alone transport of people and goods but still being connected to everyone and sharing knowledge and learning etc.

I would like to see addicting things like reddit having office hours but being able to shop at night for something I need (like a new pair of pants after the ol d one ripped) is saving tons of CO2.

Re:How to build a low-tech website? (2018) by ricardolopes on Tuesday November 02, 2021 @07:10AM (#29079531)
OTOH with global replication, it should be possible to keep closer to 100% uptime running on solar. We would need continued cloudy weather globally to bring every solar powered server down at the same time.

Global replication could also give us more edge computing, which puts less load on global infrastructure (assuming good weather to use the nearest server), which in turn should be able to reduce resources consumption a bit more.

Re:How to build a low-tech website? (2018) by sprkwd on Tuesday November 02, 2021 @07:40AM (#29079764)
Re:How to build a low-tech website? (2018) by anthk on Tuesday November 02, 2021 @01:07PM (#29084110)
That's bad, it depends on web tecnologies.

Give a check to NNCP:

https://nncp.mirrors.quux.org

Re:How to build a low-tech website? (2018) by Karrot_Kream on Tuesday November 02, 2021 @06:25PM (#29088308)
I don't necessarily disagree with using web tech, but I do think store-and-forward is a lot more resilient than an always-pull model like the web. I mean, that's what a CDN is essentially: content is stored and forwarded to other CDN instances so that a user can consume it.
Re:How to build a low-tech website? (2018) by ricardolopes on Tuesday November 02, 2021 @04:36PM (#29087010)
Yes, like exactly like that. That website may look a bit too hobbyist, but that setup could definitely be used for other websites as well.
Re:How to build a low-tech website? (2018) by toss1 on Tuesday November 02, 2021 @01:44PM (#29084736)
Yup, assumptions of less than 100% connectivity and designing for that would really change the world.

While I know everyone likes to hate on Lotus Notes here, once of it's key architecture features was that it assumed a seldom-connected and replicated data model - the clients and servers would contact each other at intervals to get updates, and otherwise everything was local.

Decades later, I still miss this functionality a lot - just force and update/replicate before you go somewhere (either office-home or a trip across the world), and everything is the same. No worries about connectivity quality; if it was choppy, just give it more time to handle the retries/ecc, and get the good updates. (of course, many system managers/admins/devs didn't really consider that much of a feature and treated it like any other network app, so not taking advantage of it, but those who understood it's power...)

I really wish others would think in such a seldom-connected model, as the network is becoming increasingly brittle, and working in that model was such a joy.

Re:How to build a low-tech website? (2018) by anthk on Tuesday November 02, 2021 @02:42PM (#29085662)
>I really wish others would think in such a seldom-connected model, as the network is becoming increasingly brittle, and working in that model was such a joy.

https://nncp.mirrors.quux.org

Also, the old NNTP and email lists are still alive.

I use SLRN on batch mode on Usenet and tildex (Unix based micronetworks), and it rocks. In batch mode, I pull down all the comments/articles and I push down the answers and written articles. No need to be online 24h/7d.

For email, i use Getmail against an IMAP server.

Thus, I can fetch all the data offline at once with a 'do_the_internet.sh' script in a breeze.

I would love to use HN over NNTP.

Re:How to build a low-tech website? (2018) by Karrot_Kream on Tuesday November 02, 2021 @06:23PM (#29088286)
> I would love to use HN over NNTP.

How would you represent upvotes and ranking over NNTP, or would you just drop that for comments altogether?

(I'm asking because I've been thinking of implementing something exactly like this, with NNCP also maybe, but the ranking is what I'm not sure on.)

> tildex (Unix based micronetworks)

Ooh what are these tildexes?

Re:How to build a low-tech website? (2018) by anthk on Wednesday November 03, 2021 @07:19AM (#29093153)
NNTP has scoring.

>Ooh what are these tildexes?

https://tildeverse.org/

Re:How to build a low-tech website? (2018) by masklinn on Tuesday November 02, 2021 @06:35AM (#29079308)
FWIW the article is from 2018, here's the followup from 2020: https://solar.lowtechmagazine.com/2020/01/how-sustainable-is...

Notably wrt uptime:

> Uptime

> The solar powered website goes off-line when the weather is bad – but how often does that happen? For a period of about one year (351 days, from 12 December 2018 to 28 November 2019), we achieved an uptime of 95.26%. This means that we were off-line due to bad weather for 399 hours.

> If we ignore the last two months, our uptime was 98.2%, with a downtime of only 152 hours. Uptime plummeted to 80% during the last two months, when a software upgrade increased the energy use of the server. This knocked the website off-line for at least a few hours every night.

And while they found inefficiencies in their energy conversion system,

> One kilowatt-hour of solar generated electricity can thus serve almost 50,000 unique visitors, and one watt-hour of electricity can serve roughly 50 unique visitors.

Re:How to build a low-tech website? (2018) by vageli on Tuesday November 02, 2021 @11:44AM (#29082959)
> However, if companies have working hours, why couldn't websites? What a funny thought.

You may be surprised to hear that some websites _do_! I was trying to search for the page but can't find it at the moment, but I've experienced this with a Dept. of Homeland Security page that would only be available during certain hours. I believe it was due to some batch-processing related task but can't recall exactly now.

Re:How to build a low-tech website? (2018) by ranger_danger on Tuesday November 02, 2021 @01:14PM (#29084241)
In Japan many websites still go offline every night "for maintenance" for most of the night.
Re:How to build a low-tech website? (2018) by mrweasel on Tuesday November 02, 2021 @01:59PM (#29085001)
Any idea as to why. I mean it's a create time for maintenance, but every night seems like a bit much.
Re:How to build a low-tech website? (2018) by delusional on Tuesday November 02, 2021 @04:01AM (#29078321)
So the load balancers would still need 100% reliability? If they go down your browser can't connect to anything which would render you unable to send the "nice message".

I think we'd have to have a pretty different internet in this hypothetical world.

Re:How to build a low-tech website? (2018) by Juliate on Tuesday November 02, 2021 @04:50AM (#29078640)
That's how most of the internet operated in the 2000's, before SRE & DevOps really took traction (practices were already there somehow, but not pushed to that extent for web sites/apps).

And we were not so much worse than today (I'd say even better, but that may be loosely coupled to 100% reliability - although FOMO also has a taste of it).

Re:How to build a low-tech website? (2018) by 1-more on Tuesday November 02, 2021 @11:34AM (#29082791)
> if companies have working hours, why couldn't websites

B&H Photo is offline on Saturdays to keep the Sabbath.

Re:How to build a low-tech website? (2018) by tarsinge on Tuesday November 02, 2021 @06:39AM (#29079327)
Indeed I’m now curious what would happen if e-commerce shops had business hours?
Re:How to build a low-tech website? (2018) by rvense on Tuesday November 02, 2021 @03:19PM (#29086155)
Most of my dumb eBay purchases are made when I should be sleeping. Hmm...
Re:How to build a low-tech website? (2018) by IAmNotAFix on Tuesday November 02, 2021 @12:08PM (#29083258)
Whoever has the best uptime wins.
Re:How to build a low-tech website? (2018) by rakoo on Tuesday November 02, 2021 @07:01AM (#29079461)
> Less than 100% reliability is essential for the sustainability

Less than 100% reliability is going to be mandatory as part of the degrowth we'll need if we want to seriously tackle climate change. Less reliability, all the way towards offline-first, is the most sensible way to go

Re:How to build a low-tech website? (2018) by Juliate on Tuesday November 02, 2021 @07:08AM (#29079511)
Actually, you can achieve 100% reliability with any kind or extent of downtime.

As long as downtime is expected and bounded, as long as the uptime planned period is actually up, you're at 100% reliability (but not 100% uptime).

Re:How to build a low-tech website? (2018) by rakoo on Tuesday November 02, 2021 @12:46PM (#29083774)
I think you're being pedantic over the meaning of words; true, a website that announces being up 1 minute per year and is up 1 minute per year is 100% reliable. But in common discussions, reliable really means "up and running".

Now, maybe you're right and we should be using another word, and aim towards less uptime ?

Re:How to build a low-tech website? (2018) by Juliate on Wednesday November 03, 2021 @06:39AM (#29092929)
Well, maybe that's pedantic, but reliability has a precise meaning that means hard money through service level agreements.

So yes, it's worth it to be specific over the difference between being available and being reliable (== meeting expectations, including being unavailable at times).

If I claim a 99.5% uptime SLA guarantee for my webservice and that it does, it's reliable. However, 0.5% of the time, it may be unavailable _and that's not an issue_.