How NS implements HA mechanism

Dear Experts.
We have multiple GWs that will be connected to NS simultaneously.
As for NS, each NS is now an independent small computer.
Now, if we want to make these NSs have an HA mechanism, are there any guidelines or better suggestions that can be provided?
I saw in the ChirpStack forum that each architecture seems to be different. Is there any official standard guide or recommended approach for HA or cluster?
Thank you.

Hi there :wave:,
To implement HA, you need to think ā€œcomponent by componentā€.
For instance, you can implement HA for Postgres (some cloud providers are managing it for you), and connect multiple instances of the front to your HA DB.
Same for REDIS cluster.
The most difficult part will probably be MQTT, where you need to implement shared subscriptions.
Hope this helps.

1 Like

Here’s what I’m planning to implement:

Chirpstack uses shared subscriptions by default these days, MQTT should be relatively easy IMO.

1 Like