How To | Make A Serverside Hub Part 2/2

Run multiple instances of your hub behind a Load Balancer .

What happens when the hub tries to send data to a service that is offline? How To Make A Serverside Hub Part 2/2

When Server A receives an update, it sends a message to the Hub. The Hub then broadcasts that message only to the specific clients who need to see it, reducing unnecessary bandwidth. 3. Security: The "Gatekeeper" Role Run multiple instances of your hub behind a Load Balancer

Most hubs require instant updates (think dashboards or chat). Standard HTTP requests won't cut it because the server can't "talk" to the client unless asked. The Hub then broadcasts that message only to

Start by implementing a simple Redis cache to see how much it improves your hub’s response times!

Since the hub is the central point of contact, it is also the primary target for attacks.