Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Introduce load balancer #11

Open
yillkid opened this issue Jul 19, 2018 · 3 comments
Open

Introduce load balancer #11

yillkid opened this issue Jul 19, 2018 · 3 comments
Assignees

Comments

@yillkid
Copy link
Owner

yillkid commented Jul 19, 2018

The possible steps to implement load balancing with swarm nodes can be enumerated as follows:

loading-balance

  1. Both public and private IP swarm node support because the swarm node may deploy on IoT devices that have private IP only.
  2. First available process in the queue list has the highest priority because of swarm node deploy on a wide variety of devices, we should set the higher level device on the top.
  3. No head-of-line blocking problem.

Reference:

@jserv jserv changed the title Load balancing support Introduce Load balancer Jul 20, 2018
@jkrvivian
Copy link

Could you explain more about point 2 ?

  • What is "available process in the queue list" ?
    I thought it is a queue holding requests(by picture demonstration), or did I misunderstand?
  • What does "the higher level device" do?
    Is it to manage swarm nodes?

Thanks 😃

@yillkid
Copy link
Owner Author

yillkid commented Jul 23, 2018

Available process in the queue list means First available process in the list has highest priority refer the chapter of Passenger library documentation for detail. And according to the this, we should put higher level swarm node in the In front of the list of requests handler.

@yillkid
Copy link
Owner Author

yillkid commented Jul 23, 2018

Passenger seems lack of the reverse proxy, the limitation as below:

  1. Can't proxy request to different applications (just multi-processing for one application).
  2. No any extension interface to implement proxy API command to private IP applications.

@jserv jserv changed the title Introduce Load balancer Introduce load balancer Aug 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants