Last Updated July 19, 2017
An important part of webMathematica is the kernel manager, which calls Mathematica in a robust, efficient, and secure manner. The manager maintains pools of one or more Mathematica kernels; by maintaining more than one kernel, the manager can process more than one request at a time. Each pool takes care of launching and initializing its kernels.
When a request is received for a computation, a kernel process is utilized to process the request and, upon completion, is returned to its pool. If any computation exceeds a preset amount of time, the kernel process is shut down and restarted. When the server is shut down, all of the kernel processes are also shut down. These features maximize the performance and stability of the server.