Introduction - If you have any usage issues, please Google them yourself
The efficient semi asynchronous semi synchronous model (learning memchaced network model) the main process is responsible for listening to the socket with libevent, and assigns the FD obtained by accept to the sub processes according to the allocation rule of the Hashi function, similar to a small load balance, hash= (a count count + +% total process number).