because of closeIdleSessions = true, vaadin heartbeat requests will not reset the servlet session ?. Meaning that if user is inactive in 30 minutes, then servlet session will be expired even heartbeat is sent every 5 mins ?
This effect is same for load balancer ? The TTL (time to live) of sticky session will not be effected by vaadin heartbeat ? Say if i set TTL = 15 mins for LB, then after 15 mins, the sticky session will be expired even heartbeat keeps sending to LB every 5 minutes ?
Well this name says it all. Without affinity the season of the user is possible rerouted to another pod - not destroying - but possible moving your user making him logout… No idea about best practices for ingress, but I would remove this setting or make it infinite. Let your application delete the sticky session cookie on logout.
That why I want to check if vaadin heartbeat will reset LB TTL. If it does not, then after 30 mins, the subsequence requests may be routed to other pods causing UI session invalid → logout.
I am almost thinking about increasing TTL to a bigger value
Not sure if vaadin heartbeat uses Connection: keep-alive in http header ?