Server Push default mode change in Vaadin 24
0 reputation · 12 May 2023, 13:18 UTC
Goal
Clarify the appropriate default PushMode for Vaadin 24 applications.
Context
Vaadin 24 introduced Server Push via WebSocket, yet the framework’s default remains PushMode.MANUAL. The documentation acknowledges both modes but does not recommend a default for all applications, leaving the decision to developers.
Uncertainty
For many CRUD‑style applications, implicit UI refreshes are desirable, but enabling PushMode.AUTOMATIC may increase WebSocket traffic and affect scalability. It is unclear how the default should shift to accommodate typical use cases without introducing performance regressions.
Specific Questions
- What measurable performance impact does switching the default to
PushMode.AUTOMATIChave on average web applications? - Does automatic push increase WebSocket connection overhead in a multi‑tenant environment, and how does that affect connection pool exhaustion?
- Are there compatibility concerns with existing push‑enabled components if the default mode changes?