load balancing
See original GitHub issueHi,
I experience quite a performance breakdown in the middle of the day, when lots of whiteboards have been used. My idea was to use a nginx load balancer to split the requests up to multiple instances/servers. I open up two whiteboards (on 8080 and 8081) and use the config below. Then the whiteboards does not work any more. Strange thing ist, that a few lines get drawed, but very randomly. The cursor of other participants is not visible any more.
upstream backendwhiteboard {
hash $request_uri;
server localhost:8080;
server localhost:8081;
}
server {
server_name MYDOMAIN.XYZ;
location / {
proxy_pass http://backendwhiteboard;
}
}
Do you have an idea how to get a load balancer working?
Regards
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
What Is Load Balancing? How Load Balancers Work - NGINX
Load balancing refers to efficiently distributing incoming network traffic across a group of backend servers, also known as a server farm or server...
Read more >Load balancing (computing) - Wikipedia
In computing, load balancing is the process of distributing a set of tasks over a set of resources (computing units), with the aim...
Read more >What is Load Balancing? What Load Balancing Solutions Are ...
Load balancing is a networking solution that distributes traffic across multiple servers to improve application availability and prevent overload.
Read more >What is Load Balancing? - AWS - Amazon.com
Load balancing is the method of distributing network traffic equally across a pool of resources that support an application.
Read more >Load Balancing 101 - Learn All About Load Balancers
Weighted load balancing is the process of permitting users to set a respective weight for each origin server in a pool. It's important...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, Just wanted to let you know that I am currently working on some tweaks to increase the performances of this project (by changing some behaviors to reduce the number of messages and small websockets optimization). I’ll most likely open a PR tomorrow or Friday.
thanks, I’m starting my docker-compose with this, and gonna give it a try. I report if performance will be better next week 😃