3 ms·
Thanks for you answer, you have opened my eyes! I didn't think to use the domain records. 2 levels would be enough considering I didn't know you could do more t
by buthow 9y ago
Thanks for you answer, you have opened my eyes! I didn't think to use the domain records. 2 levels would be enough considering I didn't know you could do more than 1 level.
Do you know a good starting resource to set up any of those methods?
- stephenr 9y agoSo keep in mind, the multiple "levels" are about having redundancy. So if you make something singular instead of multiple, it becomes a single point of failure. The dns part is easy but the most variable as it relies on client behaviour. haproxy/similar to balance between eg two servers is simple enough, but if you want haproxy itself fault tolerant you need stuff like vrrp using keepalived or similar. Thats less easy and is dependent on your hosting provider. Of course you can also find "hosted for you" resources too. Many bigger "modern" hosting companies (ie rented virtual servers and hosted services rather than shared hosting) have some kind of "load balancer" sevice. Eg aws/google/azure will all have an offering of some kind, as do the likes of Linode, Digital Ocean etc. The last two also offer "floating ip" (essential for vrrp - running your own load haproxy cluster) I havent checked explicitly but I'd imagine at least some of those hosted loadbalacers only work with their local networks. I hope this is clear, happy to discuss it further directly if you wish.