LearnBoost / up

Zero-downtime reloads and requests load balancer based on distribute.
540 stars 73 forks source link

"depreciated" -> what to? #67

Closed inspire22 closed 10 years ago

inspire22 commented 10 years ago

Is there a better alternative, now that this project has been depreciated?

I'm running a simple node server (faye) and I'd like to have it be able to handle graceful restarts

rauchg commented 10 years ago

Nginx— Sent from Mailbox for iPhone

On Wed, Jan 22, 2014 at 10:58 PM, Kevin Watt notifications@github.com wrote:

Is there a better alternative, now that this project has been depreciated?

I'm running a simple node server (faye) and I'd like to have it be able to handle graceful restarts

Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/up/issues/67

inspire22 commented 10 years ago

Is there an nginx module or something? I understand proxying it behind nginx, but the service would still need to be restarted - I guess the hope would just be that nginx keeps the connections waiting until it is back up?

Kevin

Guillermo Rauch wrote:

Nginx— Sent from Mailbox for iPhone

On Wed, Jan 22, 2014 at 10:58 PM, Kevin Watt notifications@github.com wrote:

Is there a better alternative, now that this project has been depreciated? I'm running a simple node server (faye) and I'd like to have it be

able to handle graceful restarts

Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/up/issues/67

— Reply to this email directly or view it on GitHub https://github.com/LearnBoost/up/issues/67#issuecomment-33137522.

rauchg commented 10 years ago

Alter the config to point to new workers, then send the signal to reload the config. Nginx won't drop a single request and your new code will start handling new requests immediately.