News for hackers. Stuff that matters.
Re:I wish my web server were in the corner of my room by acaloiar on Tuesday October 11, 2022 @07:51PM (#33170807)
Each friend's Nomad "client" (a node in the cluster) would accept a "job" which is the HTTP server. The missing piece is communicating back to some authority which clients are running the service, and on which ports. This could be done with DNS SRV records. Most commonly, Consul is used for DNS in a Nomad cluster.

This article is likely to give you a good idea of the architecture: https://developer.hashicorp.com/nomad/tutorials/load-balanci...

Re:I wish my web server were in the corner of my room by lucb1e on Tuesday October 11, 2022 @08:34PM (#33171163)
So if I understand it correctly, this haproxy they suggest is the new central point of failure? Sorry for being skeptical but I'm not really understanding the advantage.
Re:I wish my web server were in the corner of my room by joeblubaugh on Tuesday October 11, 2022 @10:53PM (#33172205)
You can also run multiple haproxies with identical config. One machine goes down? Your existing proxies still balance load to jobs.
Re:I wish my web server were in the corner of my room by lucb1e on Thursday October 13, 2022 @06:47PM (#33197480)
But people would need to know which other domains run the other proxies. Might as well manually type in the other domain.

The only way I see to avoid a SPOF is with anycast, which I think involves running your own ISP to be able to arrange your own BGP sessions and announce at multiple locations.