What is the difference between worker and prefork mpm?



What is the difference between worker and prefork mpm?..

Answer / Vinod Singh

Worker MPM (Multi-Processing Module) uses a thread pool to handle requests, while Prefork MPM uses separate processes for each request. Worker MPM is more efficient in handling multiple requests as it doesn't create new processes for each request, but it requires more memory due to the thread pool.nnPrefork MPM, on the other hand, uses less memory as it creates a new process for each request, but it may not handle multiple requests efficiently due to the overhead of creating and terminating processes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Tomcat Interview Questions

What port does tomcat use?

1 Answers  


Is apache an application server?

1 Answers  


What is tomcat? Can we deploy a servlet in tomcat?

1 Answers  


What language is tomcat written in?

1 Answers  


Explain what is the purpose of nat protocol?

1 Answers  


Does apache need java?

1 Answers  


What is context xml file in tomcat?

1 Answers  


How do you start and stop apache tomcat using services?

1 Answers  


What is a servlet container?

1 Answers  


Suppose when we are starting startup.bat file of tomcat server it is not started. Dos window appears for a second only. What do we need to do?

1 Answers  


How to use tomcat server as an http server?

1 Answers  


Where can be set roles, username, and password?

1 Answers  


Categories