Catch ALL requests by LUA-script

agentzh agentzh at gmail.com
Fri May 6 08:26:41 MSD 2011


On Fri, May 6, 2011 at 12:29 AM, HowToMeetLadies <nginx-forum at nginx.us> wrote:
>>
>> Also, when you're benchmarking performance, please
>> ensure that your
>> error log level is high enough to prevent nginx
>> workers spend too much
>> cycles on flushing the error.log file, which is
>> certainly very
>> expensive :)
>>
>
> Thank you for this, my conf applied already to this, but maybe you
> should tell about that in your docs too. (:
>

Just added to ngx_redis2's README ;)

>> Then GET /test gives the following outputs:
>>
>>     {"errcode":0}
>>     {"errcode":0}
>>     {"errcode":0,"insert_id":1,"affected_rows":1}
>>     [{"id":1,"val":3.1415926}]
>>
>> Have you noticed the "insert_id" field in the 3rd
>> JSON response? ;)
>>
>
> Unbelievable! :D Ive seen "insert id" header in ngx_drizzle, but hadnt
> looked further at inserts with rds_json (damn stupid me, i should write
> an article about that).

Just added this to ngx_drizzle's README too :) My bad, it's indeed not
that obvious for new users ;)

Thanks!
-agentzh



More information about the nginx mailing list