QuestionQ33

VerifiedConfiguring WebLogic Server Resources

You need high availability for HTTP sessions in a web application. In addition, you have these constraints:

  • There is little available memory on the machines hosting the cluster.
  • HA must be guaranteed even if multiple machines fail at the same time.
  • You may not update the production database schema.

Which session-persistence option is best?

Explanation

File-based session persistence stores session state in a shared directory that is accessible to the cluster, allowing surviving servers to retrieve sessions after multiple server failures. Its cache can be limited to avoid consuming scarce server memory. JDBC persistence requires a database table with the required session schema, while in-memory replication maintains only a primary and secondary session copy and consumes cluster memory.

Learn more

Community Discussion

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