On each request, Jetspeed home screen gets the root level portletset from
PortletSetFactory. When PortletSetFactory constructs this portletset, it
goes through the registry recursively and also instantiates all the child
portletsets and portlets.

Why is this necessary? Couldn't we simply instantiate only the root level
portletset and then, when needed, instantiate the next one. Right now the
overhead of this recursive behaviour is pretty big (about 2/3 of my page
generation time).

I have the portlet cache turned off right now (to avoid the threading bugs),
probably it would help if I would turn it on, but how much? Also, does the
portlet cache also cache portlet sets? If it would, then would this problem
go away because then the portletset would be instantiated only once, in the
beginning and then taken from cache?

Neeme



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to