itteco / graceful-cluster

Gracefully restart node.js http cluster with zero downtime. Shutdown server without active inbound connections reset.
MIT License
23 stars 9 forks source link

Doesnt work #5

Open joshribakoff opened 6 years ago

joshribakoff commented 6 years ago

With 2 workers, they both get restarted instantly, almost every time.

With 3 workers, they sometimes get all restarted at once.

I used load balancing tool siege, with a 3 worker cluster, doing some "Graceful" restarts only resulted in 70% of requests being served. Native node-cluster module results in 100% availability so my script is fine.

nleush commented 6 years ago

Hi @joshribakoff Do you have any code to test your issue?