Welcome! Log In Create A New Profile

Advanced

Nginx lua capture_multi fire and forget

October 23, 2013 05:46AM
Hi all,

We're currently using the lua capture_multi to send production request to test systems.
And sometimes we also kind of 'fork' these request to multiple test systems.

But if one of the test systems is slow to respond the lua code waits till it gets all responses.
And this is something we actually don't like to have.

Is there a way to have the lua module launch the requests without waiting for the response?
It should fire the requests and continue directly afterwards and forget about the response handling.
I could try and modify the lua module, but I'm not really familiar with C/C++ coding.

Here's a config sample:
http://pastebin.com/U5qgXCFh


Thanks in advance,
Pieter
SubjectAuthorPosted

Nginx lua capture_multi fire and forget

PieterVIOctober 23, 2013 05:46AM

Re: Nginx lua capture_multi fire and forget

Yichun Zhang (agentzh)October 26, 2013 02:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready