Create a Request from a String

Piotr Sikora piotr.sikora at
Tue May 25 12:19:42 MSD 2010


> I'm trying to store requests that comes in (let's call it request A), and 
> I
> want to be able to "replay" them later, when another query comes in with a
> specific argument (request B).
> I can store the request to memcache, and get it back later. But I can't
> figure out how to recreate a query from a string.

You can do this with both: ngx_echo [1] and ngx_lua [2].

You should also read agentzh's post on that matter [3],
it will answer pretty much all of your questions ;)


Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list