Enabling parallel portlet rendering
You can configure parallel portlet rendering to optimize the response time of your portal, depending on your configuration. When portlets on a page are rendered sequentially, some portlets can delay output from other portlets to the client browser. For example, portlets that are waiting for a response from a remote service can cause such delays. Parallel portlet rendering can prevent this delay.
About this task
For portlets to be rendered parallel, the settings for both the portal and the individual portlets need to be set to enable parallel portlet rendering.
The default setting for the portal is that portlets cannot be rendered in parallel. In addition, the default setting for individual portlets is not to be rendered in parallel. An individual portlet needs to be enabled for parallel rendering, for example, by the portlet developer or the administrator. Therefore, if you enable the portal wide property for parallel portlet rendering, the portal renders only those portlets concurrently which have been configured accordingly. Portlets that are not enabled for parallel rendering are always rendered sequentially.
You can change the setting for a portlet to parallel rendering in the Manage Portlets portlet. Proceed by the following steps:
Procedure
- Select .
- Select the required portlet and click the Configure (wrench) icon. The portal displays the panel for configuring the portlet.
- Mark the Enable parallel rendering check box to enable parallel rendering for the portlet.
What to do next
- parallel = (false)
- When you set this parameter to true, you indicate that the portlet can be rendered in parallel with other portlets on the page. The default is false.
To enable parallel rendering makes sense only for markups that can display all portlets on a page, such as HTML. Therefore, do not enable parallel rendering for markups that can only display a single portlet of a page at a time, such as WML.
- For parallel rendering of local IBM portlets, enable the following
parameter:
- legacy.useParallelRendering.[markup] = (false)
- Activates the portlet container functionality for parallel portlet rendering for the specified markup. Valid values are true or false . By default this parameter is set to false . If you omit the markup, the setting applies to all markups for which no specific setting has been defined.
- For parallel rendering of local JSR portlets, or for remote portlets
that you integrated in a WSRP Consumer portal, enable the following
parameter:
- std.useParallelRendering.[markup] = (false)
- Activates the portlet container functionality for parallel portlet rendering for the specified markup. Valid values are true or false . By default this parameter is set to false . If you omit the suffix markup, the setting applies to all markups for which no specific setting has been defined.
- false
- Parallel rendering is disabled. This is the default. All portlets are rendered sequentially, even if they are enabled for parallel rendering.
- true
- Parallel rendering is enabled. All portlets which have parallel rendering enabled are rendered in parallel. Portlets that are not enabled for parallel rendering are rendered sequentially.