What happens to mod_jk sticky sessions on apache httpd reload|graceful
Question
As said in the title, i'd like to know if active mod_jk sticky sessions will get preserved if i restart apache webserver with reload or graceful (running on linux (centos5)).
Solution
Yes, they will.
The stickiness works by looking at the node identifier in the session cookie - mod_jk looks at the node name in the cookie, and sends it to the worker that matches that name. It doesn't actually maintain an internal table of sessions, that doesn't scale well. It's effectivelt stateless from that perspective, so a restart will not affect stickiness.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow