Nginx to recive json and update mysql (im newbe)

Cliff Wells cliff at develix.com
Fri Mar 9 16:45:27 UTC 2012


On Fri, 2012-03-09 at 10:31 -0500, umen wrote:
> Hello all 
> im new to nginx , im thinking about testing the server to do the job of
> getting json requests from clients 
> extract the json data and update mysql server . 
> what shell i do and how should i configure the server? which module
> should i compile into the server to do this job ? 
> Thanks for helping

This can't be done with plain Nginx.  Typically you would utilize a
backend server such as Tornado, node.js, Ruby on Rails, PHP, etc to
parse the JSON and store it in MySQL.

However, you may be able to leverage the lua module to do what you want.

https://github.com/chaoslawful/lua-nginx-module

Regards,
Cliff




More information about the nginx mailing list