Latest or all posts or last 15, 30, 90 or 180 days.
Up to 1527MB/s sustained performance

Web Server Version Upgrade

I’ve upgraded the server to a new version, Tomcat 9.08. The change should be transparent to site visitors with no change in behavior, so please report any unusual behavior—noting that I might be bouncing the server repeatedly tonight (stopping and restarting) to check functionality.

FYI, I write all the backend code myself to make this website have its special features, such as Retina-grade images—I was a leader years ago in doing so, maybe the first site in the world to actually do it regularly and well.

....

For nerds, the Tomcat 9 <UpgradeProtocol>inside a <Connector> is unreliable, overwriting a ByteBuffer sporadically, and also generating errors in Safari sporadically (two distinct issues that appear to be unrelated). I’ve had to disable org.apache.coyote.http2.Http2Protocol, and after doing so, I’ve seen no further issues using HTTP/1.1. I might reenable it from time to time for testing now and then, but please contact me if you see unreliable behavior like Symptom #1.

<Connector ...
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
</Connector>

While it tests OK if/when I enable HTTP/1.2, it just doesn’t work reliably over time. What a shame, since it should improve performance.

I cannot understand how the Tomcat team can ship a feature that shows itself to be unreliable with only 5 minutes of testing (well, then it goes away for an hour as well, so maybe that explains it). I had the same problem with Tomcat 8.5, but this is Tomcat 9.0.8 and JDK 10 (latest). I use a simple configuration, nothing oddball. Perhaps it is specific to my server’s operating system, but this seems doubtful.

Symptom #1:

Safari can't open the page. The error is: “The operation couldn’t be completed. kCFErrorDomainCFNetwork error 303” (kCFErrorDomainCFNetwork:303)

Symptom #2:

<will post when I reproduce the problem again — it involves an out of bounds access to a ByteBuffer inside the nio connector >


Data transfer speeds up to 2800MB/s
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 8 hours unless noted. Certain deals may last longer.
$3097 SAVE $200 = 6.0% Nikon D850 DSLR in Cameras: DSLR
$1797 SAVE $200 = 10.0% Pentax K-1 Mark II DSLR in Cameras: DSLR
$998 SAVE $400 = 28.0% Sony a7 II Mirrorless in Cameras: Mirrorless
$1798 SAVE $200 = 10.0% Sony a7R II Mirrorless in Cameras: Mirrorless
$2798 SAVE $400 = 12.0% Sony a7R III Mirrorless in Cameras: Mirrorless
$3998 SAVE $500 = 11.0% Sony a9 Mirrorless in Cameras: Mirrorless

diglloyd Inc. | FTC Disclosure | PRIVACY POLICY | Trademarks | Terms of Use
Contact | About Lloyd Chambers | Consulting | Photo Tours
RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.