Links

Vlad Mihalcea posted “The JPA and Hibernate second-level cache”, describing the second of the two cache levels Hibernate provides for application developers. The first-level cache is quite simple, and applies to the current thread and session context, so from most users’ perspectives, it barely acts as a cache at all - it means that if you have a running transaction, repeated fetches of a given entity within the context of that transaction will use a cached element.
InfoQ has an excellent writeup on a new proposal from Oracle, “Oracle Proposes Shorter Java LTS Cycle of Two Years”, discussing a proposal from Mark Reinhold to adjust the long-term support release cadence from once every three years to every two years.

Python 3.10 Released

python October 11, 2021
From Python Insider, Python 3.10 has been released. It contains “many new features and optimizations,” none of which hold the catastrophic and world-changing implications of the migration to Python 3 in the first place, but they still might be interesting.
Nicolas Fränkel wrote up “Faster Maven builds in Docker”, documenting the use of Docker’s multistage builds to cache dependency resolution. It can definitely help, but this content doesn’t address multiplatform deployments (i.e., having a docker image for each architecture).
ycrash.io, who produce a Java Root Cause Analyzer to help identify performance problems programmatically and quickly (not an endorsement, I have not used it), wrote a blog entry on the performance impact of java.lang.System.getProperty(), and showed why.
Cameron McKenzie, editor of TheServerSide.com, posted a lot of information about git over the last week or so. git is pretty ubiquitous, but if you need a primer or refresher, it might be worth checking out.
On a Jigsaw mailing list, a user suggested that jlink and other tools emphasize user convenience to the point where the developer burden is too high, advocating perhaps for a separate JRE download again.