Daniel, can you give the idea to do a parallel deployment approach? What tools I need ?
________________________________________ From: Daniel Savard <daniel.sav...@gmail.com> Sent: Tuesday, March 8, 2016 7:20 PM To: Tomcat Users List Subject: Re: Advice on Cluster in one machine On the zero downtime deployments side, I would prefer a parallel deployment approach. You can deploy a new version within the same instance and have zero downtime as well without building a cluster. I haven't experiment yet with this, but it is something I am looking forward to test in short term. ----------------- Daniel Savard 2016-03-08 10:48 GMT-05:00 Christopher Schultz <ch...@christopherschultz.net>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Edwin, > > On 3/8/16 8:19 AM, Edwin Quijada wrote: >> I am new using Tomcat so I have a question about performance. I >> have installed a cluster with 2 tomcats and apache webserver like >> proxy in front of Tomcat cluster but this whole thing is in one >> server, somebody tell me that is not useful beacuse is in the same >> server that is better give more resources to one tomcat and not >> split the resources in two. > > Performance-wise, your friend is right: a two-node cluster on one > machine is going to use more resources than a single node on that machin > e. > > However, running two cluster nodes on a single server isn't a > completely stupid idea. If you want to have zero-downtime deployments, > you can take one node down, upgrade it, then switch. So there's value > there. As for fault-tolerance, the single point of failure is the > whole machine: if that server isn't available, no services are available > . > > That's why people usually have a hardware load balancer (fairly > simple, fairly reliable) and several web/app servers, just in case one > of them fails. If one node fails, the service is still available. > >> Somebody here can give any advice about this configuration what do >> you think about this ? In this server I have websockets in cluster >> and I am having problems with websockets in cluster > > Clustering and websockets have little to do with one another, since > the connection goes to one node and the cluster really just manages > things like sessions (which are orthogonal to connections, protocols, > etc.). > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlbe9DcACgkQ9CaO5/Lv0PCvSACeP5LxHVddVmygYBSDCMy/bzyI > kcsAoMRRZOREaWubUGJFrviRSx/cVAUK > =1OIe > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org