Reputation: 988
For Nginx and Apache httpd web server, there usually exist several processes there for certain modes. For example, there is a master process and several worker processes.
How these processes communicate with each other? It seems that they use a file to communicate. I do not know if it is right and need further explanation.
Upvotes: 1
Views: 1087
Reputation: 8389
Nginx uses Unix domain sockets to communicate with the workers. You can see them being created and being written to and read from in the nginx source.
Upvotes: 2