You‘re supposed to host this yourself.
You‘re supposed to host this yourself.
Set the DNS cache time to 60 seconds.
Set the script to run on every host delayed by some time to avoid simultaneously accessing the API (e.g. run the script every other minute).
With this approach, you get automatic failover in at most 3 minutes.
I’d host it on both webservers. The script sets the A record to all the servers that are online. Obviously, the script als has to check it’s own service.
It seems a little hacky though, for a business use case I would use another approach.
OP said that they have a static website, this eliminates the need for session sync.
Your challenge is that you need a loadbalancer. By hosting the loadbalancer yourself (e.g. on a VPS), you could also host your websites directly there…
My approach would be DNS-based. You can have multiple DNS A records, and the client picks one of them. With a little script you could remove one of the A Records of that server goes down. This way, you wouldn’t need a central hardware.
Looks like a small release, but has some IMO pretty interesting changes, like
Allow users to view their own removed/deleted communities
and
Add backend check to enforce hierarchy of admins and mods
True. I really wonder why they’re not tackling the issue more. It seems that there are several different areas to adress, from farming to industry to vehicles.
The “more toxic than ever” part seems to be based on subjective opinions, not on data.
You can trim it even further:
For a start, try hosting something in your own home. A raspberry or an older PC or laptop should be enough.
My first projects were a print server (so I can print via wifi) and a file server. Try to find something that is useful for you.
Only start hosting on the internet when you’ve learned the basics and have more experience.
It seems like a tedious workflow, but the end result is quite good.
Interesting. What is tge reasoning behind only fetching the comments vs. a full fediverse integration?
As for me, I just visit this site to see the next sales. But it’s a neat idea
I think counting fediverse users is about as difficult as counting e-mail adresses.
If you vote, post or comment, you count as active user.
I agree, but I understood this question in the context of a homelab.
And for me, a homelab is not the right place for a public website, for the reasons I mentioned.
No, with these reasons:
I have a VPS for these tasks, and I host a few sites for friends amd family.
It’s quite obvious from the context
I like it :) Can you provide a link to the sensors you used?