-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Ja,
On 6/11/13 9:54 AM, Ja kub wrote: > What can be done to guarantee failover in below scenario: > > 2 tomcats behind cisco loadbalancer 1 http request can last very > long about 50 seconds - response from webservice can take so long > load is 200 requests per second I must response in max 4 seconds > more than backing webservice > > is there something like http request replication ? > > 50 s * 200 req/s = 10.000 pending requests > > if one tomcat is eg killed, can in any way other tomcat serve his > requests ? > > is there any out of the box solution, eg similar to session > replication ? The best way to do this is to configure your load balancer to buffer responses and re-try another cluster node in the case of an unexpected disconnect. If you can't buffer the response, then it is entirely inappropriate to re-process a request: instead, you should let the failure propagate all the way back to the client and let them decide what to do. > is it possible to save socket to database, or send it via network? No. I think you are confused about what a socket is. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRtzM3AAoJEBzwKT+lPKRYPaEQAIEDPqvboqXW/X05PSmPwaCC IC8LegK8XFSc+IZvVHurGw0cemd8VcQOLRDlfK6OQM/wGfsTfsxWelJRm7KmjeS6 kZJuIfg6AAdEibgQj/dnQ/VhLAxBh8XYnDtkNyniAIwP5iigTXKsAUVNHz/o1vCI MFZ3ToqhtNHw7NkFXwyi6GnPuZOGXABedk1IQsD37iawYgjkPtdKteu6Y96M6L7y hguv4cilbk4N1RrNsIR2cxDYj/BZ+qide+ZVs5EPpbvym1FGTHqu+q911Ux/YURi wZI1ny/63AydWt9SOD3f6SOBBFHF20Nf5jKPQ+0F0zBso42Rw11kXevR93DrUCLV rseud/2odBjtn8w3dQMD/LthqUQQPrtCarx8qfa0yQHhnHKQQ0LDJhKxLzn3VEVg 6AO0tCNMyBrV9P2RH5kNo/ebBk7+d0A2IOqDloRb4k6ySKaJzirJ5LMmIxT0bUeg wGafZpqNJ6zcsXSPt1PLnJhx3wVya8gKF/ByFY65lz84rPV41/v1MN/iVVRltUC7 gZIa3w0MtibrG0A5DTuV31ZQSkmr6i1fwif2asktkZ08r91UO9yb8TXVfUVVBaL4 ZQenkl5thHLWf/0Np5PpTIAaNTRiKZvlJCo9/zCF8An3DeMgRbzNjnDKS02+pm9e h4tXjEX7UL1JDjoMBgJ1 =qd37 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org