1, concurrent execution: Multi-process and multi-threading.
2, Apache vs. IIS (differences between multi-process and multi-threaded)
Apache is a multi-process implementation, and IIS is multi-threaded.
Difference:
1> efficiency: The thread efficiency is higher than the process efficiency.
2> Stability: Thread and process ratio, thread is unstable, one thread is having problems, multiple threads are having problems together. And the process is independent, has its own independent space.
3> Security: The process is isolated, separate. Threads can access each other
3. Usually encounter some illegal operation, the principle of illegal operation?
Because the operating system is divided into two states, users can only exist in the user state, can not cross to the kernel state. As long as the user is out of bounds, the system will prompt for action.
Specific performance of illegal operations:
Memory address problem,
Privileged command issues
4.sanbox
Operating system (10 thread and process differences-illegal operation)