Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

how to depoly vaadin application into a load balance environment?

fu lee
7 years ago Jan 23, 2016 9:07am
Johannes Häyry
7 years ago Jan 25, 2016 9:34am

Is the session sharing really a requirement for you? If a node goes down what you lose are the currently running sessions and sessions need to be recreated (users log-in again etc.) If you do you need the session replication, you need to ensure that everything in your session is serializable.

Most of the time clustering is needed to ensure availability for concurrent users. For that the "sticky sessions" are the way to go.This ensures that each request for a session is pointed to the same cluster node. That is load balancer and/or Web Logic specific configuration and doesn't require anything special in Vaadin code/configuration.

fu lee
7 years ago Jan 26, 2016 1:47pm
fu lee
7 years ago Jan 27, 2016 2:12am