Tomcat cluster session replication for heterogenous different applications -
so might know answer question in head don't seem pinpoint , more confused when think it.
i'm doing research web app architectures high scalability/maintainability (and other cool to-have's). trying study 1 architecture have cluster 3-nodes.
node 1.[high security , medium ram, low disk space] has administration apps configurationservice, authenticationservice (i call admin0)
node 2. [medium security, low ram, high disk space] has content-oriented apps e.g. media service(like file hosting), profiles, etc etc. storage oriented node, call misc0.
node 3. [low security, high ram, medium disk space] has business apps i.e. core apps web app.
so separates concerns , if want scale, can scale each node separately. also, think node 3 1 maximum load.
now, problem is, if user gets authenticated on node1(admin0)/authenticationservice, want session activated apps in cluster don't have query authenticationservice anymore, should local httpsession.
now, tomcat clustering delta (or backup) manager provides functionality share sessions nodes app installed. though delta manager share session if app not installed on peers, don't know how use session though? know can set cookie's path "/", solution ?
am making architectural mistake somewhere? mean better off single sign-on solution or ?
even single sign-on (sso), each web application gets different httpsession
, can't "look local httpsession". if use tomcat's sso, isn't clear me whether or not works across cluster.
if set cookie path "/", you'll cause confusion because need have different cookies different session ids different applications.
Comments
Post a Comment