Session management tuning
WAS session support has features for tuning session performance and operating characteristics, particularly when sessions are configured in a distributed environment. These options support the administrator flexibility in determining the performance and failover characteristics for their environment.
The following table summarizes the features, including whether they apply to sessions tracked in memory, in a database, with memory-to-memory replication, or all. Some features are manipulated using administrative settings; others require code or database changes.
Feature Goal Applies to... Write frequency Minimize database write operations. Database
Memory-to-MemorySession affinity Access the session in the same appserver instance. All Multirow schema Fully utilize database capacities. Database Base in-memory session pool size Fully utilize system capacity without overburdening system. All Write contents Allow flexibility in determining what session data to write Database
Memory-to-MemoryScheduled invalidation Minimize contention between session requests and invalidation of sessions by the Session Management facility. Minimize write operations to database for updates to last access time only. Database
Memory-to-MemoryTablespace and row size Increase efficiency of write operations to database. Database
(DB2 only)
Related concepts
Scheduled invalidation
Sessions
Base in-memory session pool size
Write operations
Related tasks
Configure write contents
Configure write frequency
Task overview: Managing HTTP sessions
Tuning the application serving environment
Related Reference
Tuning parameter settings
Tuning parameter custom settings