From 40242a9b927babb6de05eab8281d3e5df58050c7 Mon Sep 17 00:00:00 2001 From: Dan Caseley Date: Tue, 1 Dec 2020 22:11:04 +0000 Subject: [PATCH] Update readme to include load balancer --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c823dfc..5727f4d 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,20 @@ When running, the system looks like this: ``` +---------------------------------------------+ + | 172.60.0.99 | + | +----------------+ | + | | | | +(XMPP-C2S) 55222 -|-------| Load Balancer |+-------+ | +(BOSH) 57070 -| | | | | +(BOSHS) 57443 -| +----------------+ | | + | | | | + | | | | | 172.60.0.10 172.60.0.20 | | +--------+ +--------+ | (XMPP-C2S) 5221 -| | | | | |- 5222 (XMPP-C2S) (XMPP-S2S) 5261 -|------| XMPP 1 +============+ XMPP 2 |-------|- 5262 (XMPP-S2S) (HTTP-Admin) 9091 -| | | | | |- 9092 (HTTP-Admin) - | +----+---+ +----+---+ | +(BOSH) 7071 -| +----+---+ +----+---+ |- 7072 (BOSH) | | | | | | | | | +---+--+ | | @@ -87,7 +95,7 @@ When running, the system looks like this: +----------------172.60.0.0/24----------------+ ``` -Note that there is no load balancer configured in the setup. +Note that the load balancer is intentionally configured to be "flappy" to simulate simple round-robin DNS load balancing, but that ports from individual servers are exposed and can be hit directly. Openfire is configured with the following XMPP domain: * `xmpp.localhost.example`