Fire and forget requests
John Doe
jdmls at yahoo.com
Wed Aug 31 09:42:55 UTC 2011
From: Guy Knights <guy at eastsidegamestudio.com>
>What we want is a fire and forget solution for request handling, where we can set up nginx to receive a request from our web servers, pass this request on to an external HTTP service or an HTTP backend and send a 200 response back straight away to the requesting machine, leaving the original request to be handled at whatever speed the backend is capable of. We don't care about the response from the backend server; this can simply be dropped once it's received.
What about using a simple fcgi script that returns 200 straight away and just write the request to a file/pipe/database/...
and another script that just reads the file/pipe/database/... for new requests and sends them to the backend?
JD
More information about the nginx
mailing list