There is a article on how to build a high performance server. There are four points that affect the performance of a server.
- Data copies
- Context switches
- Memory allocation
- Lock contention
During reading the source of the nginx, I can not understand the logic. I felt so bad.