Some Tips on Application Module Usage
Copying some points related to application module configuration on top of what you see in the following chapter - 44 Tuning Application Module Pools and Connection Pools
1. When a web client access a page a new AM instances will be created till the pool size crosses recycleThreshold.
2.Call to Configuration.createRootApplicationModule(qualifiedAMDefName, configName); will use instance from the pool if poolsize > recycleThreshold and unreferenced (free) AM instances are available. Later when client calls Configuration.releaseRootApplicationModule(applicationModule, true); will remove the instance- doesn't matter how the instance is acquired .
3.Though the call Configuration.releaseRootApplicationModule(applicationModule, false/* remove flag */) , there is now way for a framework to identify the previously used AM instances if the client again calls Configuration.createRootApplicationModule(qualifiedAMDefName, configName) to create a new instance within the same request. However , with releaseRootApplicationModule(..., false) you do get the benefit of potentially reusing that AM (after it was reset) vs. creating a new AM. Configuration.releaseRootApplicationModule(..., true), removes the AM from the pool. Configuration.releaseRootApplicationModule(..., false) resets the AM and keeps it in the pool for future use.
4. Framework uses LRU algorithm for selecting an AM instance from the pool for recycling/passivating its state when new client request for AM.
Thanks for sharing this valuable information to our vision. You have posted a worthy blog keep sharing.
ReplyDeleteTally Course in Chennai
Tally Classes in Chennai
ui design course in chennai
CCNA Training in Chennai
ReactJS Training in Chennai
microsoft dynamics crm training in chennai
Tally Training in Chennai
Thanks a lot for your help on this. I look forward to reading more articles from you!
ReplyDeleteAppium Training in Chennai
Best Appium Training institute in Chennai
Mobile Appium Course
JMeter Training Institute in Chennai
JMeter Training in Chennai
core java training in chennai
C C++ Training in Chennai
javascript training in chennai
I like to learn a piece of new information about technology. Im really like your post. Good job.
ReplyDeleteStruts Training in Chennai
struts course
Struts Training in Tambaram
Wordpress Training in Chennai
Wordpress Training Chennai
Spring Training in Chennai
Hibernate Training in Chennai
Struts Training in Chennai
Excellent post, thanks for this. I gathered lots of information from this and I am happy about it. Do share more updates.
ReplyDeletemicrosoft dynamics crm training in chennai
microsoft dynamics training
microsoft crm training
Hacking course in Chennai
PHP Training in Chennai
gst Training in Chennai
microsoft dynamics crm training in Anna Nagar
microsoft dynamics crm training in Vadapalani
microsoft dynamics crm training in Thiruvanmiyur
I read this blog, Nice article...Thanks for sharing waiting for the next...
ReplyDeleteC C++ Training in Chennai
C++ programming course
C and C++ institute
C C++ training in T nagar
C C++ training in Guindy
javascript training in chennai
core java training in chennai
Html5 Training in Chennai
DOT NET Training in Chennai
QTP Training in Chennai