PDA

View Full Version : Session Locking in Resin 3.1.3 (JDBC-based sessions)


rein
01-16-2011, 05:51 PM
Hey,
My set up is such that I am running 4 standalone instances (not configured them in a cluster) of Resin 3.1.3 pro (licensed). Ive configured the external hardware load balancer such that a request can be sent to any web node (non-sticky sessions). I have also configured Resin to persist sessions to mysql db (<always-load> and <always-save>).

In the above mentioned configuration ,how does Resin handle concurrent session modifications.Since multiple requests get sent out from the browser during tab-browsing.Is there any session locking implemented?

Thanks

alex
01-17-2011, 09:40 PM
Hi Rein,

Your setup requires sticky sessions.

your session names will start with either a, b, c or d where the 'a' corresponds to the first server defined in the conf file, 'd' – the last (4th server)

Thanks,