Session context size

This section contains recommended best practices on how to minimize the allocation of data in the BTT session context. The BTT session context stores the data that a given user needs across several requests. It is usually the major consumer of memory resources in the server. The average size of this data determines how many users can be allocated in a given JVM; thus highly impacting the application's scalability. Moreover, if session persistence is used, for example in order to enable transparent failover, the session size becomes more critical because it greatly impacts performance, given that all the session data will be serialized at the end of each request.

The recommendations for minimizing the session context size are as follows:
If session persistence is enabled, the following recommendations should also be considered in order to reduce the performance impact of the persistence process: