IBM BS029ML Self Help Guide - Page 156

Optimization, 5.2.1 Knowing where to start

Page 156 highlights

Registry Service loads and caches a small number of objects that are regularly accessed in the engine. This improves performance; however, the trade off is that the cached objects are possibly stale compared to their database counterparts. This applies particularly in a cluster environment. If the age of those objects causes a problem, try reducing the refresh rate for the respective entities. For a complete list of the Portal Services provided with WebSphere Portal Server V6.0.x, and a description of the many parameters that can be tuned with regards to each service, consult the WebSphere Portal Server Version 6.0 Information Center. To provide performance and deployment options, some Portal Services, such as search and document conversion, can be executed remotely. The Portal Search service can now reside on a separate machine or as part of a Portal cluster. The remote search service can be utilized either through the SOAP protocol or through EJB. This allows Portal users to search Portal content with the remote search service, but it also allows other search engines to tap into the remote search engine to search portal content. Document conversion is another service that can be deployed remotely. Document Conversion Services is integrated with Portal Document Manager and IBM Common Mail portlet. Documents received as attachments to e-mail can be viewed in the browser even if the application that created the document is not installed. Document Conversion Services also allows documents to be searched by content. Document Conversion Services supports many of the most widely used applications and converts them to HTML and XML. To better balance processing power, Document Conversion Services can be delegated to a remote server. In this case, the service is accessed simply with HTTP, rather than SOAP or EJB. Since WebSphere Portal Server was designed with a Services-Oriented Architecture in mind, we have been able to continually add new services, which can be used by IBM, our customers and our partners to build more powerful Portlets and Portal applications. When customer requirements demand that the service be available outside the Portal framework, we can leverage WebSphere Application Server's support for J2EE and Web Services standards to execute remote services. 5.2 Optimization Performance is a critical part of any WebSphere Portal Server based solution. In this section, we look at the major parameters responsible for performance tuning WebSphere Portal Server. Important: No amount of tuning will resolve a performance problem attributed to a badly written Java application. Many customers neglect this important fact and waste a considerable amount of time and effort tweaking around with the WebSphere Portal Server parameters in the hope that a configurational change may resolve matters. Remember, the 20:80 rule: Only a 20% improvement can normally be gained from tuning improvements, while roughly an 80% gain is attributed to development. Therefore, we strongly recommend following the IBM Recommended Best Practices during development. 5.2.1 Knowing where to start Those familiar with WebSphere Portal Server will be aware that the product is actually deployed as a J2EE Enterprise Application on top of WebSphere Application Server (or WebSphere Process Server with certain restrictions). It is for this very reason that the recommended starting point for implementing a WebSphere Portal Server performance tuning exercise actually involves tuning the underlying WebSphere Application Server instance. 142 IBM WebSphere Portal V6 Self Help Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242

142
IBM WebSphere Portal V6 Self Help Guide
±
Registry Service loads and caches a small number of objects that are regularly accessed
in the engine. This improves performance; however, the trade off is that the cached objects
are possibly stale compared to their database counterparts. This applies particularly in a
cluster environment. If the age of those objects causes a problem, try reducing the refresh
rate for the respective entities.
For a complete list of the Portal Services provided with WebSphere Portal Server V6.0.x, and
a description of the many parameters that can be tuned with regards to each service, consult
the WebSphere Portal Server Version 6.0 Information Center.
To provide performance and deployment options, some Portal Services, such as search and
document conversion, can be executed remotely. The Portal Search service can now reside
on a separate machine or as part of a Portal cluster. The remote search service can be
utilized either through the SOAP protocol or through EJB. This allows Portal users to search
Portal content with the remote search service, but it also allows other search engines to tap
into the remote search engine to search portal content. Document conversion is another
service that can be deployed remotely. Document Conversion Services is integrated with
Portal Document Manager and IBM Common Mail portlet. Documents received as
attachments to e-mail can be viewed in the browser even if the application that created the
document is not installed. Document Conversion Services also allows documents to be
searched by content. Document Conversion Services supports many of the most widely used
applications and converts them to HTML and XML. To better balance processing power,
Document Conversion Services can be delegated to a remote server. In this case, the service
is accessed simply with HTTP, rather than SOAP or EJB. Since WebSphere Portal Server
was designed with a Services-Oriented Architecture in mind, we have been able to continually
add new services, which can be used by IBM, our customers and our partners to build more
powerful Portlets and Portal applications. When customer requirements demand that the
service be available outside the Portal framework, we can leverage WebSphere Application
Server's support for J2EE and Web Services standards to execute remote services.
5.2
Optimization
Performance is a critical part of any WebSphere Portal Server based solution. In this section,
we look at the major parameters responsible for performance tuning WebSphere Portal
Server.
5.2.1
Knowing where to start
Those familiar with WebSphere Portal Server will be aware that the product is actually
deployed as a J2EE Enterprise Application on top of WebSphere Application Server (or
WebSphere Process Server with certain restrictions). It is for this very reason that the
recommended starting point for implementing a WebSphere Portal Server performance
tuning exercise actually involves tuning the underlying WebSphere Application Server
instance.
Important:
No amount of tuning will resolve a performance problem attributed to a badly
written Java application. Many customers neglect this important fact and waste a
considerable amount of time and effort tweaking around with the WebSphere Portal Server
parameters in the hope that a configurational change may resolve matters. Remember, the
20:80 rule: Only a 20% improvement can normally be gained from tuning improvements,
while roughly an 80% gain is attributed to development. Therefore, we strongly recommend
following the IBM Recommended Best Practices during development.