Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can just do this with nginx or whatever you have in front (IIS if you're into Microsoft stuff I guess?). Run service at port xxx1, this is your "live" port. When you wanna upgrade, launch service to port xxx2, do graceful reload of config, swap the ports around so "live" port now points to right service, graceful reload of config again and done!


I should have added I was not doing a web service.


So what kind of service were you doing? As far as I know, nginx and others can handle more things than just http.


IIS makes me want to explode and then die




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: