QuestionQ7

VerifiedConfiguring WebLogic Server Resources

You need high availability for HTTP sessions in a web application. You also have these constraints:

  • There is little available memory on the machines that host the cluster.
  • HA must be ensured even if multiple machines fail at the same time.
  • You cannot update the production database schema.

Which session-persistence option is best?

Explanation

File persistence externalizes HTTP session state to a configured persistent directory, allowing the in-memory session cache to remain bounded. With a highly available shared file store, surviving cluster members can access persisted sessions after multiple server failures. JDBC/database persistence requires a database table using a prescribed schema, while in-memory replication maintains only a primary session and a secondary replica on cluster servers; whole-server migration is server failover rather than HTTP-session persistence.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!