FoolCode / FoOlSlide

[NO LONGER MAINTAINED] Online Comics Publishing Software for Authors and Teams
http://foolcode.github.com/FoOlSlide/
Other
115 stars 64 forks source link

Set up load balancer, only loading half the pages #71

Closed CBozsik closed 7 years ago

CBozsik commented 7 years ago

Hey, I think I have everything set up correctly but my master reader is only loading half the pages now. Is this something that takes some time to sync up the master and clients? Or is there an issue with having an https master and an http client?

I've set the client to 0% priority for now just so it works fine for my readers.

Master Settings: image

Client Settings: image

oohnoitz commented 7 years ago

The content you are trying to serve from the load balancer (client) is over HTTP on your master (HTTPS). This should be returning an mixed content warning in your browsers JS console. IMO, this functionality should even be necessary and was only implemented to fulfill a weird use-case of one of the developers. A much simpler route would just to use an actual CDN.

Edit: Also, this functionality technically isn't a load balancer and is incorrectly named. It's just a simple hack to distribute bandwidth usage across numerous servers/instances. If you are looking to improve performance, you would need to have load balancing done at a routing level or have some really aggressive caching solution with a CDN service.