mucgi
is a async fastcgi using Muduo Network Library.
Use Some Cgicc Files to parse http request.
Modify the BackendProc Class then You can pass the http request to back-end service.
Need Boost C++ Library
yum install scons -y
scons
Or run:
sh make.sh
nohup ./mcgi [PORT] [THREAD_NUM] &
Linux Version > 3.9, support for the SO_REUSEPORT socket option. We can add process on runtime.
nohup ./mcgi 16888 10 &
nohup ./mcgi 16888 10 &
nohup ./mcgi 16888 10 &
nohup ./mcgi 16888 10 &
...
mucgi using long-link to improve performance.
nohup.out not flush immediately,
Test on Centos 6/7