VCL: Is it possible to Asynchronously forward Request to a backend
I have a requirement where i should be able to forward the received request to a backend, but not wait for the response instead continue to serve the request. Is there a way to asynchronously handle this situation without making the client wait for two passes of request handling?
-Michael
-
Hi Michael,
It would be interesting to see your actual question answered, but just to give you another option to think about: streaming logs. In this type of request, instruct the edge to deliver a static response without contacting the origin, and at the same time send an event to a log destination. The log events would then be collected and processed asynchronously by your backend software.
Yours, Amir
-
See also this nice writeup on the subject: Beacon termination at the edge.
Please sign in to leave a comment.
Comments
3 comments