-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Shawn,
On 10/16/18 00:00, Shawn Heisey wrote: > On 10/15/2018 9:16 PM, Jerry Malcolm wrote: >> I have several webapps that do a significant amount of recursive >> loads of snippits of HTML utilizing XHR/http/ajax requests. These >> apps are all debugged and in production. The server has no >> problem whatsoever in keeping up with the multiple concurrent >> requests. However, the open-connection limits on the browsers >> that block more than 6 concurrent connections to a server is >> killing me in performance. > > I know pretty much nothing about the things you asked about after > this paragraph. But I do know about one thing that might help you > -- HTTP/2. It can execute many HTTP requests simultaneously over a > single TCP connection. +1 h2 will improve your performance with basically zero other changes to your environment or to your application. > I really have no idea how to enable HTTP/2 in Tomcat, but I know > that it can be done if you have a new enough version. It's configured by default in Tomcat 8.5.x and later. Basically, you just have to add this inside your <Connector> element in conf/server.xml if it isn't already there: <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /> > Another possibility is to put your web services behind a load > balancer that supports HTTP/2 on the front end. Haproxy is one > that I am aware of with that support. Basically everyone[1] supports h2. Hmm... no Squid. :( Jerry, switching to Websocket basically requires you to rewrite your application using a different protocol. I don't think you really want to do that. - -chris [1] https://en.wikipedia.org/wiki/HTTP/2#Server_software -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvIoG4ACgkQHPApP6U8 pFgq8g//bU2tji+UM7j68ZRQIUazDTVlaQePwNLw5JicBuF+kkadBiSsKjp9qytO P18JiuBTHm6AJZ/PrCvPrG4ceJbT7QzdMD1daj6hD5MkdOyPSiK0QTuqV5r+V7Dm cjWGZ2F8WRIKN8w9BX3XNPZ3aLyf4pAd68EGow9R4Cm9FoMJ17kT1a1ALs/Iw0pX 5Ditcsl1SbnSyk+CxwgehLRkc7mub0c7Wk7bI6uYCzZrZt2ddNTmNON2Eqgzd+UB R+6NoOpIiQV/mvP8jFaqBy+OcVIzbuzM/otBzkmgbNDimTrLsT790vOcDLD3BxtB sZCVk1aC+7wO1Elq+104l/E/bFCPn8bFDspZdMpvp/wxrt80Co36Nw/4Jkg7QoGn h1l8JI8R/bt5/jOQhcqQH2/4peilP0Zs6ASTB+U0tV0M6J6n/qDLjqo68ueMzgmN Bo4cYATzO92G55T0WuGlQOynlPhrVS2s4u2mTVuaeMc8m863VdMiGhQh2anEqpJN MumeH4JKFSsj78lzjWOenjE9/N0Gm00eeO1O0hYsnIOEyftv7osaXxBO0gJoKFHV ZF1SkX7ogHfutt8Yzga7I6VK8184rt7EYohl6zf7QU4mdQIkVKBHQrlKRxddqIoQ HIDmUOUPMuiq6V0i0E4QDxpvnG+1Ax1DvRrj20BJ1DuwII0odZY= =FDC4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org