BEST PractICE 2 RELEASE HTTPSESSIONS WHEN FINISHED

zhaozj2021-02-17  62

BEST PractICE 2 RELEASE HTTPSESSIONS WHEN FINISHED

Both HttpSession survive in the WebSphere's servlet engine until the situation below occurs:

(1)

This method is very common, and Figure 2a provides an example.

(2) The WebSphere Application Server is destroyed with HTTPSession (default, 1800 seconds, or 30 minutes) when the survival of HttpSession is full. WebSphere Application Server can only maintain a certain number of HTTSEESION objects in memory. When this limit arrives, WebSphere Application Server seizes the assigned httpsession to the disk and exchanges it. However, in a high-throughput system, the resource consumed of the serialized httpsession object is quite high.

转载请注明原文地址:https://www.9cbs.com/read-29701.html

New Post(0)