Skip to content

Commit c634ecd

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

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,8 @@ You'll need to handle such cases at client side to make it transparent to your e
100100
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.
101101

102102
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.
103+
1. All the app server instances return the same **primary** Web PubSub endpoint to the **negotiate** calls. You could have a source-of-truth storing, checking the health status, and managing these endpoints.
104+
2. Make sure there is no active client connected to other endpoints. [Close All Connections](/rest/api/webpubsub/dataplane/web-pub-sub/close-all-connections) could be used to close all the connected clients.
108105

109106
## How to test a failover
110107

0 commit comments

Comments
 (0)