Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Romain Manni-Bucau
Hi Tomcat/tomee session replication; memcached and custom session manager (hazelcast) solutions are different. Typically in some of them you accept SPoF, not in others. The perf are not the same too. Finally guarantees (synchronous or not persistence) can be different too. Mark info were

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread José Luis Cetina
Ok Romain. Im not sure if is tomee issue of msm issue, but i will send you a mail with the info to the tomee mailing list. 2013/10/20 Romain Manni-Bucau rmannibu...@gmail.com Hi Tomcat/tomee session replication; memcached and custom session manager (hazelcast) solutions are different.

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Karl Kildén
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

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Thomas Andraschko
Hey, JFYI: MyFaces+OWB on Tomcat with MSM is working fine. Don't know about TomEE. Regards, Thomas 2013/10/20 Karl Kildén karl.kil...@gmail.com 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

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Romain Manni-Bucau
@thomas: same on tomee + tomee has another integration for it, optimized for tomcat Le 20 oct. 2013 11:35, Thomas Andraschko andraschko.tho...@gmail.com a écrit : Hey, JFYI: MyFaces+OWB on Tomcat with MSM is working fine. Don't know about TomEE. Regards, Thomas 2013/10/20 Karl Kildén

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Thomas Andraschko
@romain do you have any article about it? Just for my interesst. What especially is optimized for tomcat? I may use TomEE in the future - if our customers allow this. 2013/10/20 Romain Manni-Bucau rmannibu...@gmail.com @thomas: same on tomee + tomee has another integration for it, optimized

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
smiling big... while I wrote OP (last night, my time), I did find Thomas's long discussion[1] with memcached-session-manager's committer/developer (Martin). and I remember Thomas said that Martin (the mail list) is 'very helpful', I think Thomas said that on primefaces forum. Romain, that

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
also, i'm still wondering about how database is replicated while clustering the app. On Sun, Oct 20, 2013 at 5:34 AM, Thomas Andraschko andraschko.tho...@gmail.com wrote: JFYI: MyFaces+OWB on Tomcat with MSM is working fine.

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
romain, i have recognized and (gmail) star'red the mail list topics related to tomee clustering. have not tried yet, but i don't see (any) mention of how database is replicated while clustering tomee. On Sun, Oct 20, 2013 at 2:11 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: PS: if tomee

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
interesting response, Jose', thanks! for some time, I thought that it might be best to have separate server (tomee + @EJB/DTO's + tomcat's jdbc + database) which is/becomes the database tier. I guess I need to learn how to do/make remote calls to EJB server from JSF web layer like you are doing.

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
On Sun, Oct 20, 2013 at 7:07 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: hmmm, avoid database replication. honestly, I think HA-JDBC[1] (clustering the database) is all I really need, because my app is quite fast, and only bottleneck is database layer. I have seen David Blevins or

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Mark Struberg
but still JSF]: Clustering, session replication, and database, too also, i'm still wondering about how database is replicated while clustering the app. On Sun, Oct 20, 2013 at 5:34 AM, Thomas Andraschko andraschko.tho...@gmail.com wrote: JFYI: MyFaces+OWB on Tomcat with MSM is working

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Mark Struberg
]: Clustering, session replication, and database, too interesting response, Jose', thanks! for some time, I thought that it might be best to have separate server (tomee + @EJB/DTO's + tomcat's jdbc + database) which is/becomes the database tier. I guess I need to learn how to do/make remote calls

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
. With the msm you can get away from this. - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Sunday, 20 October 2013, 12:56 Subject: Re: [OT but still JSF]: Clustering, session replication, and database, too

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Mark Struberg
more important stuff. LieGrue, strub - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Cc: Sent: Sunday, 20 October 2013, 13:19 Subject: Re: [OT but still JSF]: Clustering, session replication, and database

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
On Sun, Oct 20, 2013 at 8:17 AM, Mark Struberg strub...@yahoo.de wrote: This can also be very helpful to 'scale out' in case you need performance: All write stuff is only performed on the master node, but expensive queries/searches might be performed on the n replication nodes. Of course

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
:19 Subject: Re: [OT but still JSF]: Clustering, session replication, and database, too On Sun, Oct 20, 2013 at 7:07 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: hmmm, avoid database replication. honestly, I think HA-JDBC[1] (clustering the database) is all I really

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
just remembered-and-revised 2nd question, below... On Sun, Oct 20, 2013 at 8:35 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Sun, Oct 20, 2013 at 8:17 AM, Mark Struberg strub...@yahoo.de wrote: This can also be very helpful to 'scale out' in case you need performance: All

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread José Luis Cetina
By the way im not using remote calls. All my apps are in the same ear with this i can inject my ejb local interface for calling methods in ejb. El 20/10/2013 07:49, Howard W. Smith, Jr. smithh032...@gmail.com escribió: just remembered-and-revised 2nd question, below... On Sun, Oct 20, 2013 at

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
Hmmm, i thought you said that you have EAR on one server and database on separate server. are you running 2 tomee on same server; one tomee = EAR, another tomee = database? On Sun, Oct 20, 2013 at 11:52 AM, José Luis Cetina maxtorz...@gmail.comwrote: By the way im not using remote calls. All

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread José Luis Cetina
Ear with all my apps in each server (2 server each with their own ear) then each server insert/read in another unique db server. El 20/10/2013 16:09, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Hmmm, i thought you said that you have EAR on one server and database on separate server.

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
so, db server is on a separate machine/server on the network, and each EAR is referencing the (one) db server via IP address? also, do you have an embedded db server (running inside of tomee and using tomcat jdbc pooling) or network db server/engine? On Sun, Oct 20, 2013 at 5:32 PM, José Luis

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread José Luis Cetina
El 20/10/2013 19:34, Howard W. Smith, Jr. smithh032...@gmail.com escribió: so, db server is on a separate machine/server on the network, and each EAR is referencing the (one) db server via IP address? Yes 2 tomee instances each in separete server point to a third server that only serve as db

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
interesting. thanks Jose' On Sun, Oct 20, 2013 at 9:03 PM, José Luis Cetina maxtorz...@gmail.comwrote: El 20/10/2013 19:34, Howard W. Smith, Jr. smithh032...@gmail.com escribió: so, db server is on a separate machine/server on the network, and each EAR is referencing the (one) db

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-20 Thread Howard W. Smith, Jr.
how many concurrent users is your app servingnormally or at peak times? earlier, i think you mentioned response time is quite fast. did you throw fast/high-performance hardware at db server, so db server responds fasts to queries/updates? do you have any expensive queries or updates...that

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-19 Thread José Luis Cetina
I have a early experience with a mini cluster 2 servers using tomee + memcached for session replication+ sticky session but using 1 only server for database (i mean i dont use db replication). My jsf apps (ear) are running in this mini cluster everithyng works fine except when i shutdown tomee for