Hi,

We have some HTTP calls from our app that we'd like to fire and forget, but
we need the Haproxy frontend send a response to the requester immediately
after it passes the request to the backend queue. The intention is to
replace our Gearman setup and thus save us some time in maintenance and
management as we can then just deal in HTTP calls, it also saves us having
to write PHP scripts for gearman processing. What we need is to just be able
to execute a curl call and send a response back as as soon as possible so
the curl call can complete and the script can finish processing.

The chain we want is:

1. Local webserver --- request ---> Haproxy frontend
2. Local webserver <--- local OK response --- Haproxy frontend --- request
(queue) ---> Haproxy backend
3. Haproxy backend --- request ---> Remote webserver
4. Haproxy backend <--- remote response --- Remote webserver
5. dumped <--- remote response --- Haproxy backend

I hope that makes sense. Can anyone provide any feedback on whether
something like this would be possible?

Thanks,
Guy

-- 
Guy Knights
Systems Administrator
Eastside Games
www.eastsidegamestudio.com
[email protected]

Reply via email to