nginx custom module multi process help

itpp2012 nginx-forum at forum.nginx.org
Wed Jun 15 21:54:03 UTC 2016


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

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267611,267612#msg-267612



More information about the nginx mailing list