blockform
blockform copied to clipboard
Support creating redundant nodes behind a load balancer
Geth nodes are not very reliable. They are regularly out of sync and need reboot.
Having an high availability endpoint would save us the pain of having to code fallback mechanisms in each of our apps.
Ideally, we should do this in 3 separate steps:
- create a node in zone X of cloud provider A
- create another node in zone Y of cloud provider B
- add a load balancer on top of these two nodes
I think it would be a bad idea to have recipes to create these 3 units at the same time in a same cloud provider. It would make the forms more complex, and limit us to use the same cloud provider, which increases the chances of having both nodes down at the same time.
One thing to explore is to do this at the cloudflare level, and then no programming would be required in blockform. But if it's not possible, then it should look like a form to create a load balancer in any supported cloud providers, in blockform.
If we take that route, we should have a sql table to store these load balancers, and expose them on the dashboard.