myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Kildén <>
Subject Re: [OT but still JSF]: Clustering, session replication, and database, too
Date Sun, 20 Oct 2013 08:31:58 GMT
Hello! I am also very interested in having more i.e. docs, examples and
stuff for clustering across the tomee stack. The discussion came up on a
jira some time ago and after that I asked Thomas to write a new post about
it (First part was great!).

For example this is something that sounds really interesting and I want to
know more:

* do not replicate the session over to other nodes!

My scenarios are usually tomee with one war or tomcat with one war and JSF,
CDI, JPA only.

On 20 October 2013 05:48, Howard W. Smith, Jr. <>wrote:

> I had a question or two, since I have been reading "Java Summit - Pitfalls
> in EE"[1] provided by Mark Struberg while having a discussion on tomee user
> list.
> The following page stated the following:
> Page 134
> Clustering
> * We use 'asymmetric clustering'
> * use sticky sessions
> * backup away the session to a memcached after each
> request
> * do not replicate the session over to other nodes!
> * Session-Replication always in node pairs.
> * only restore the session from the memcached if a failover
> happened
> * msm can be integrated into OWB:
> Since it says, 'We use asymmetric clustering' and other suggestions were
> made, I found it appropriate to direct my question(s) to MyFaces 'JSF' user
> list and committers.
> is there some type of blog (or two or three) available that discuss how to
> properly cluster a tomcat/tomee/openwebbeans/myfaces JSF web app? also, how
> is the database replicated? I don't ever see database cluster/replication
> discussed by JSF developers; i recently had to search for database cluster
> and saw 'replication', which is something i have not had to worry about
> since my previous work involved database teams while i was doing
> front-end/GUI software.
> now that i am doing java ee and jsf, i would love to know how to do
> database clustering and/or replicating database while clustering JSF
> webapp. Of course, right now, i only have one  tomee which references
> 'apache' derby (which is performing well, but I would love to get my feet
> wet and cluster my web app + database). i did search derby's mail list
> archives and i learned about sequioa and HA-JDBC (High-Availability JDBC).
> i was hoping to get an answer from MyFaces 'JSF' users/committers...based
> on their experience. I think someone told me that they use mysql
> (clustering); my preference is still 'apache' derby (smile). please
> remember, i'm wondering if any blogs are available that discuss clustering
> tomcat (preference = tomee) + JSF web app (with database) + memcached
> session manager.
> Thomas has already started writing a blog[2] about this. I'm looking
> forward to seeing sample config for it all (if available). :)
> [1]
> [2]

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message