[web-devel] [Yesod] Re: Better web app deployment

Douglas Livingstone rampant at gmail.com
Sun May 6 16:51:51 CEST 2012


On 6 May 2012, at 11:00, web-devel-request at haskell.org wrote:

> I was actually very specific about what we should do: send an
> interrupt signal. In your case, you could catch that signal and allow
> your long-running processes to finish. Likewise, an app which is has
> any kind of long-running responses would want to take that approach.

All apps will need a variation on this, since even if the individual responses are fast, they will need to be completed before the process can exit. I'm not sure how this affects restarting Nginx, how does it handle pending responses when asked to restart with a new config?

Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20120506/b00b1061/attachment.htm>


More information about the web-devel mailing list