我想在Nginx+Lua中调用一个C++程序。
In a nignx configuration:
location =/something {
access_by_lua_file("mytest.lua")
}
mytest.lua has only one line of code, well, almost only one line.
os.execute("myc")
C++ program myc.cpp does not do anything but return 0.
When I use ab command to test the performance, the RPS is very low.