IBM BS029ML Self Help Guide - Page 167

WebSphere Member Manager tuning, WMM cache configuration

Page 167 highlights

Table 5-11 Session management settings Parameter Session Timeout (idle time) Default value 30 Recommended value 10 However, the full implication of reducing the HttpSession timeout should be understood. Unlike the LTPAToken timeout setting, which is an absolute timeout value, the HttpSession timeout is based on inactivity and starts to time out each time after a user's last request. If a user fails to interact with the Portal within the timeout period, the session expires and the user will be advised with the message "Your portal session has timed out because of no activity. Start a new session at your portal home." In most cases, presenting users with this message and a redirection to the WebSphere Portal Server login page maybe acceptable, as Portal navigation is more than intuitive for a user. It is also worthwhile remembering that each Portlet application extends the HttpSession object and has a separate session. 5.2.9 WebSphere Member Manager tuning The WebSphere Member Manager (WMM) component of WebSphere Portal Server provides an internal mechanism for managing member profiles. Both users and groups are considered members, with WMM constructing a Java object for the resulting entity after performing the necessary interaction with the underlying data store. However, Portal and Portlets do not interface with WMM directly. Instead, requests are handled by the intermediary Portal User Management Architecture (PUMA) layer. This layer of abstraction primarily exists due to historical reasons and is anticipated to be removed in a future Portal version. The WMM component of WebSphere Portal Server has a number of parameters that can be specifically tuned to improve the login response time and the overall performance of the Portal. WMM cache configuration You can tune the way in which WMM caches group information. This can be done by modifying the wmm.xml file and adding the parameters detailed in Table 5-12. Table 5-12 WMM cache parameters Parameter cacheGroups groupsCacheTimeOut attributesCacheSize attributesCacheTimeOut namesCacheSize namesCacheTimeOut Default value false 600 2000 600 2000 300 Recommended value true 3600 2000 3600 2000 3600 Important: Since the group cache needs to cache all groups in WMM scope, it may cause a memory problem if there are a large amount of groups. If there are more than 5000 groups in WMM scope, we recommend that groups cache be disabled. Chapter 5. WebSphere Portal runtime and services 153

  • 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

Chapter 5. WebSphere Portal runtime and services
153
Table 5-11
Session management settings
However, the full implication of reducing the HttpSession timeout should be understood.
Unlike the LTPAToken timeout setting, which is an absolute timeout value, the HttpSession
timeout is based on inactivity and starts to time out each time after a user’s last request. If a
user fails to interact with the Portal within the timeout period, the session expires and the user
will be advised with the message “Your portal session has timed out because of no activity.
Start a new session at your portal home.”
In most cases, presenting users with this message and a redirection to the WebSphere Portal
Server login page maybe acceptable, as Portal navigation is more than intuitive for a user. It is
also worthwhile remembering that each Portlet application extends the HttpSession object
and has a separate session.
5.2.9
WebSphere Member Manager tuning
The WebSphere Member Manager (WMM) component of WebSphere Portal Server provides
an internal mechanism for managing member profiles. Both users and groups are considered
members, with WMM constructing a Java object for the resulting entity after performing the
necessary interaction with the underlying data store. However, Portal and Portlets do not
interface with WMM directly. Instead, requests are handled by the intermediary Portal User
Management Architecture (PUMA) layer. This layer of abstraction primarily exists due to
historical reasons and is anticipated to be removed in a future Portal version.
The WMM component of WebSphere Portal Server has a number of parameters that can be
specifically tuned to improve the login response time and the overall performance of the
Portal.
WMM cache configuration
You can tune the way in which WMM caches group information. This can be done by
modifying the wmm.xml file and adding the parameters detailed in Table 5-12.
Table 5-12
WMM cache parameters
Parameter
Default value
Recommended value
Session Timeout (idle time)
30
10
Parameter
Default value
Recommended value
cacheGroups
false
true
groupsCacheTimeOut
600
3600
attributesCacheSize
2000
2000
attributesCacheTimeOut
600
3600
namesCacheSize
2000
2000
namesCacheTimeOut
300
3600
Important:
Since the group cache needs to cache all groups in WMM scope, it may cause
a memory problem if there are a large amount of groups. If there are more than 5000
groups in WMM scope, we recommend that groups cache be disabled.