Skip to content

Sticky session cluster

Hi,

I worked on sticky session on nodejs, here are my updates. Sticky handle is mainly based on round robin handle, I just changed "distribute" logic to balance the load according to ip address. Test coverage is higher than 90% on sticky handle, even I'm not sure how to write a good test case on this subject.

I will update documentation but I prefer waiting for your feedbacks first.

Even if I read contributing guidelines, it's my first PR here so maybe I miss some points :)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows [commit guidelines]
Affected core subsystem(s)

cluster

Merge request reports

Loading