Skip to content

Commit 6e92226

Browse files
authored
Update concept-disaster-recovery.md
1 parent d120a18 commit 6e92226

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

articles/azure-web-pubsub/concept-disaster-recovery.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,14 @@ You'll need to handle such cases at client side to make it transparent to your e
9797

9898
### High available architecture for client-client pattern
9999

100-
For client-client pattern, currently it is not yet possible to support a zero-down-time disaster recovery.
101-
102-
The general principles when handling disaster recovery for client-client pattern are:
103-
1. Make sure there is only one **primary** Web PubSub service available for all the running app server instances across regions.
104-
2. Make sure there is no active clients connected to **secondary** Web PubSub services.
100+
For client-client pattern, currently it is not yet possible to support a zero-down-time disaster recovery. If you have high availability requirements, please consider using client-server pattern, or sending a copy of messages to the server as well.
101+
102+
Clients connected to one Web PubSub service are not yet able to communicate with clients connected to another Web PubSub service using client-client pattern. So when using client-client pattern, the general principles are:
103+
1. Make sure all the running app server instances across regions are reading to the same configuration.
104+
2. Make sure the configuration contains only one **primary** Web PubSub service. All the active clients should be connected to this **primary** Web PubSub service.
105+
3. When the **primary** Web PubSub service is down, the configuration should be updated to promote one and only one **secondary** Web PubSub service endpoint to **primary**.
106+
4. When the **primary** Web PubSub service is back, the configuration should be updated to change the **primary** endpoint.
107+
5. Make sure there is no active clients connected to **secondary** Web PubSub services. [Close All Connections](/rest/api/webpubsub/dataplane/web-pub-sub/close-all-connections) could be used to close all the connected clients.
105108

106109
## How to test a failover
107110

0 commit comments

Comments
 (0)