-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WGD HA setup - Queries and Ideas. #372
Comments
You mean support an SQLike database such as Postgres or MySQL/MariaDB? |
Theoretically... it can be done.. since the SQL statement I used works across different flavours of SQL DBs. One thing I would like to know is, if I understand HA WireGuard setup correctly:
Correct me if I'm wrong. But using PostgreSQL, MySQL, SQL Server is possible with WGDashboard. |
Yes, any other FLOSS RDBMS, that supports external HA setup.
An ORM may help, but not sure how Flask handles this.
Yes.
Correct.
Correct, and they all connect to the same DB.
This could be a problem, but I think if we use sticky sessions the connection will be routed to the same backend node, however, this is still not a perfect setup, as the peer can switch after idle timeout to a new backend node behind the load balancer, need to see how other FLOSS products are handling this. https://cloudar.be/awsblog/why-aws-nlb-stickiness-is-not-always-sticky/ |
I see, but I'm thinking if we use sticky session, isn't it kinda defeated the purpose of using NLB lol.. Currently WGDashboard support cross server access on its Desktop app, maybe this would be a better solution? |
Some Wireguard uses UDP, even if the back node is lost, the connection routes through some other node, ideally the user would not notice. |
Is your feature request related to a problem? Please describe.
It seems we have have a HA setup with some cloud like AWS, and WGD can support this if the state(DB) sharing is taken care of.
Refer the below setup:
https://www.procustodibus.com/blog/2021/02/ha-wireguard-on-aws/
Describe the solution you'd like
Can WGD support PostgreSQL, so that one can setup AWS Aurora for shared state between multiple WGD VMs?
The text was updated successfully, but these errors were encountered: