Welcome! Log In Create A New Profile

Advanced

Re: nginx custom module multi process help

June 15, 2016 05:54PM
Why not use Lua, collect the data from your variables, run the query (and optionally store them in a Lua cache) and process it all real-time, none-blocking and without any (extra) module.

Examples:
http://stackoverflow.com/questions/25955869/how-do-i-use-mysql-for-dynamic-doc-root-with-nginx
https://github.com/openresty/lua-resty-mysql

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

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

nginx custom module multi process help

de_nginx_noob June 15, 2016 05:10PM

Re: nginx custom module multi process help

itpp2012 June 15, 2016 05:54PM

Re: nginx custom module multi process help

de_nginx_noob June 16, 2016 09:36AM

Re: nginx custom module multi process help

itpp2012 June 16, 2016 11:23AM

Re: nginx custom module multi process help

de_nginx_noob June 16, 2016 01:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
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