• Tatsuhiro Tsujikawa's avatar
    nghttpx: Add hot deploy feature · bf13d912
    Tatsuhiro Tsujikawa authored
    nghttpx supports hot deploy feature using signals.  The host deploy in
    nghttpx is multi step process.  First send USR2 signal to nghttpx
    process.  It will do fork and execute new executable, using same
    command-line arguments and environment variables.  At this point, both
    current and new processes can accept requests.  To gracefully shutdown
    current process, send QUIT signal to current nghttpx process.  When
    all existing frontend connections are done, the current process will
    exit.  At this point, only new nghttpx process exists and serves
    incoming requests.
    bf13d912
nghttpx-howto.rst 10.9 KB