Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 836 Bytes

README.md

File metadata and controls

46 lines (34 loc) · 836 Bytes

Asynchronous Fastcgi

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.


Requirements

Need Boost C++ Library  

Install

yum install scons -y
scons

Or run:

sh make.sh

Usage

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.

  • Test
    测试

nohup.out not flush immediately,

Test on Centos 6/7