Welcome! Log In Create A New Profile

Advanced

Re: Nginx to recive json and update mysql (im newbe)

March 09, 2012 11:46AM
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


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx to recive json and update mysql (im newbe)

umen March 09, 2012 10:31AM

Re: Nginx to recive json and update mysql (im newbe)

Cliff Wells March 09, 2012 11:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready