Replies: 6 comments
-
You mean support an SQLike database such as Postgres or MySQL/MariaDB? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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/ |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Some Wireguard uses UDP, even if the back node is lost, the connection routes through some other node, ideally the user would not notice. |
Beta Was this translation helpful? Give feedback.
-
I will convert this to a discussion :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions