indutny / sticky-session

Sticky session balancer based on a `cluster` module
964 stars 99 forks source link

Load balancing #41

Open ghost opened 8 years ago

ghost commented 8 years ago

I know this topic has been around for a while, but seeing not much discussion taking place in recent times, I'd like to bring it up again. Anything planned about this, or is it even possible, while maintaining decent performance that is?

wzrdtales commented 8 years ago

@Xaxatix There is a basic load balancing over here: https://github.com/indutny/sticky-session/blob/master/lib/sticky/master.js#L30-L49

Of what kind of load balancing do you think of? Dynamically adjusting the balancing by monitoring the load of the worker, or is there something else in your mind?

indutny commented 8 years ago

@Xaxatix what kind of problems with performance are you experiencing?