Web application settings  Lazy session validation

Chapter 7: Cluster Tuning

HTTP session replication mechanism

In a clustered deployment, EAServer replicates user session data stored in HTTP sessions so that the same data is available on other servers in the cluster. Replication can use a remote database server or in-memory storage.

If using in-memory replication, EAServer replicates data between mirror pairs, that is, a pair of servers configured to share the same user session. In-memory replication can perform better than using a database, but requires more memory on each server. Specify a cache size to constrain the memory required by the cache, and specify a timeout to free up memory used by idle sessions. To set these parameters, follow the instructions in “Clustered Web applications” in Chapter 21, “Creating Web Applications,” in the EAServer Programmer’s Guide.

If using database replication, all servers in the cluster store session data in a remote database. This mechanism can perform slower than in-memory replication, but requires less memory. Also, EAServer can share a client’s session data on more than two servers. If using this technique:





Copyright © 2003. Sybase Inc. All rights reserved. Lazy session validation

View this book as PDF