indutny / sticky-session

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

Using with another cluster module? #23

Open IngwiePhoenix opened 9 years ago

IngwiePhoenix commented 9 years ago

I am running on various-cluster in order to manage my my processes. However, I am facing the "session id unknown" issue that usually happens when you use multiple nodes. However, I did add the redis adapter...

Can I use this module together with another clustering module - various-cluster in my case?

sabrehagen commented 9 years ago

Using PM2 cluster module and getting the same issue. Any recommendations of making this cross cluster compatible?

spion commented 8 years ago

My initial attempt: https://github.com/spion/sticky-listen

Written to work with recluster, however if you can implement a function that returns the required object (a hash of all ready workers), it should work fine with any other cluster module.