Showing posts with label Performance. Show all posts
Showing posts with label Performance. Show all posts

How to enable lazy load of portlet applications during Portal startup

Abstract
This technote describes how to enable and disable the startup of administrative and sample portlets during Portal startup to speed up the server start and reduce the Portal memory footprint.
Content
WebSphere Portal 6.1.0.2 introduces a new configuration task to enable and disable the lazy load of administrative and sample Portlet Applications. When enabled the applications are not loaded during startup of the server but when accessed for the first time
Read TechNote

How to improve WPS Startup Performance

You can improve portal startup performance by starting server in development mode.
You can achieve in two ways..
1) At the time of installing portal

2) From WAS in case you have skipped step 1.

1) At the time of installing portal

You can install portal either by selecting Full or Administrative option. If you install portal as Full option, you get all out of the box portlets and also administrative portlets, whereas when you install as Administrative option, you get only Administrative portlets.
So to get portal startup performance, select Administrative type of installation and just after this run the following scripts
For Windows
Run the ConfigEngine.bat enable-develop-mode-startup-performance -DWasPassword=password task from the wp_profile_root\ConfigEngine directory.
For UNIX
Run the ./ConfigEngine.sh enable-develop-mode-startup-performance -DWasPassword=password task from the wp_profile_root/ConfigEngine directory.

Note:- This task is for development only and is not recommended for production environments.
Read here for more Details

2) Secondly, if you have skipped step 1, you can always enable development mode from WAS.
Follow steps below
a) Login to WAS as admin
b) Go to Servers -> Application servers
c) Click on WebSphere_Portal.
d) Select Configuration tab.
c) select check box for "Run in development mode"
e) Restart Portal and server1.
Note:- Again, this setting should be enabled for development only and is not recommended for production environments.