jsiebens / ionscale

A lightweight implementation of a Tailscale control server
https://jsiebens.github.io/ionscale
BSD 3-Clause "New" or "Revised" License
143 stars 9 forks source link

ionscale high availability #17

Closed unixfox closed 5 months ago

unixfox commented 11 months ago

Hello,

Can multiple instances of ionscale run at the same time, but only one receive the requests at the same time?

I have been thinking to have a highly available control plane for a self hosted tailscale, but I'm not sure if running multiple ionscale instances with the same database will introduce any race condition or things will start breaking.

jsiebens commented 10 months ago

Hi,

A highly available setup is not supported for ionscale at the moment. All the nodes should connect to the same ionscale instance, otherwise they cannot find each other.

Multiple ioncale instances with the same database (postgres), while only one receives requests, could work, but I have no guarantees it will.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.