Tagged articles
26 articles
Page 1 of 1
Ops Community
Ops Community
Mar 2, 2026 · Backend Development

How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning

This guide walks you through practical performance tuning of Tomcat 11 on JDK 21, covering JVM memory settings, GC selection, connector and thread‑pool optimization, virtual‑thread integration, benchmark scripts, security hardening, high‑availability deployment, and comprehensive monitoring and troubleshooting techniques.

DockerJDK21JVM
0 likes · 51 min read
How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2026 · Backend Development

Master JVM Tuning on JDK 21: Reduce GC Pauses and Boost Throughput

This comprehensive guide walks you through diagnosing Full GC pauses on a Java 2020 production outage, explains JVM memory structures, compares JDK 21 garbage collectors, and provides step‑by‑step installation, configuration, and tuning instructions for Tomcat, monitoring tools, and real‑world case studies to achieve stable, high‑throughput services.

JDK21JVMLinux
0 likes · 33 min read
Master JVM Tuning on JDK 21: Reduce GC Pauses and Boost Throughput
WeiLi Technology Team
WeiLi Technology Team
Dec 9, 2025 · Backend Development

Why Upgrade to JDK 21 and Spring Boot 2.7.18? Boost Performance and Future‑Proof Your Apps

Upgrading a company's Java stack from JDK 11 to JDK 21, while staying on Spring Boot 2.7.18, provides long‑term security support, leverages virtual threads, new low‑latency garbage collectors, modern language features like records and pattern‑matching, and avoids costly Jakarta EE namespace migration, with detailed steps for pom changes, MongoDB configuration, code adjustments, and post‑upgrade validation.

JDK21VirtualThreadsjava
0 likes · 16 min read
Why Upgrade to JDK 21 and Spring Boot 2.7.18? Boost Performance and Future‑Proof Your Apps
JD Tech Talk
JD Tech Talk
Jun 6, 2025 · Backend Development

Upgrade Java Projects to JDK 21: Challenges, Solutions & Best Practices

This article outlines the motivations, challenges, and step‑by‑step solutions for migrating over 100 Java applications to JDK 21, covering dependency conflicts, module system adjustments, Maven plugin compatibility, garbage‑collector selection, and practical build and deployment practices to ensure a smooth upgrade.

Garbage CollectionJDK21backend-development
0 likes · 13 min read
Upgrade Java Projects to JDK 21: Challenges, Solutions & Best Practices
JD Cloud Developers
JD Cloud Developers
Jun 6, 2025 · Backend Development

Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges

This article outlines the motivations, progress, and common issues encountered when upgrading over 100 Java applications to JDK 21, including deprecated APIs, module system constraints, Maven plugin incompatibilities, and GC choices, and provides concrete migration steps, configuration templates, and best‑practice recommendations for a smooth transition.

GarbageCollectionJDK21ModuleSystem
0 likes · 12 min read
Seamless Java JDK 21 Upgrade: Solving Dependency and Build Challenges
DaTaobao Tech
DaTaobao Tech
Apr 2, 2025 · Backend Development

Understanding Java Virtual Threads: From Traditional Thread Models to Stackful Coroutines

The article traces Java’s concurrency evolution from heavyweight thread‑per‑request and complex reactive models to JDK 21’s virtual threads, which act as stack‑ful coroutines offering lightweight, heap‑allocated threads, full stack traces, and blocking‑I/O compatibility while preserving the familiar thread API.

CoroutinesJDK21Virtual Threads
0 likes · 24 min read
Understanding Java Virtual Threads: From Traditional Thread Models to Stackful Coroutines
Java Backend Technology
Java Backend Technology
Oct 8, 2024 · Fundamentals

Mastering Java StructuredTaskScope: Simplify Concurrency with Virtual Threads

JEP 453 integrates StructuredTaskScope into Java 21, offering a preview API that replaces Future with Subtask, enabling lightweight virtual‑thread based concurrent tasks, such as fetching data from multiple servers and automatically cancelling slower calls, while simplifying error handling and improving observability.

JDK21StructuredTaskScopeVirtual Threads
0 likes · 8 min read
Mastering Java StructuredTaskScope: Simplify Concurrency with Virtual Threads
Architecture Digest
Architecture Digest
Sep 18, 2024 · Fundamentals

New Features in JDK 21: Virtual Threads, Sequenced Collections, String Templates, Record Patterns, and Switch Pattern Matching

The article introduces JDK 21’s latest long‑term‑support features—including virtual threads, sequenced collections, preview string templates, record patterns, and switch pattern matching—explaining their concepts, benefits, and providing concrete Java code examples for each.

JDK21RecordPatternsSequencedCollections
0 likes · 14 min read
New Features in JDK 21: Virtual Threads, Sequenced Collections, String Templates, Record Patterns, and Switch Pattern Matching
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 18, 2024 · Backend Development

Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive

This article explores Java virtual threads introduced in JDK 21, detailing their architecture, implementation, practical usage with Thread and Executors APIs, performance comparisons against platform threads, best‑practice guidelines, and benchmark results demonstrating superior throughput for high‑concurrency server applications.

JDK21Virtual Threadsconcurrency
0 likes · 24 min read
Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive
DaTaobao Tech
DaTaobao Tech
Aug 28, 2024 · Backend Development

Understanding Java Virtual Threads: Principles, Implementation, and Performance

Java virtual threads, introduced in JDK 21, decouple Java threads from OS threads by using continuations and a ForkJoinPool scheduler, allowing millions of cheap, blocking‑friendly threads that boost throughput and simplify concurrent code compared to traditional platform threads or reactive frameworks, as demonstrated by performance benchmarks.

JDK21Virtual Threadsjava
0 likes · 23 min read
Understanding Java Virtual Threads: Principles, Implementation, and Performance
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 23, 2024 · Backend Development

Upgrading to JDK 21 and Adopting Generational ZGC: Motivation, Design, Implementation, Monitoring, and Performance Evaluation

This article explains why the backend services were upgraded from JDK 8 to JDK 21, introduces the generational ZGC garbage collector, details its architecture, tuning parameters, integration steps, monitoring setup, and presents performance test results that demonstrate reduced allocation stalls, lower latency, higher throughput, and near‑zero GC pauses.

BackendGarbage CollectionGenerational ZGC
0 likes · 20 min read
Upgrading to JDK 21 and Adopting Generational ZGC: Motivation, Design, Implementation, Monitoring, and Performance Evaluation
Eric Tech Circle
Eric Tech Circle
Aug 22, 2024 · Backend Development

Mastering Asynchronous Batch Processing with JDK 21 Virtual Threads

Using JDK 21’s standardized Virtual Threads, this guide explains how to design and implement robust asynchronous batch processing, covering common pitfalls like CPU spikes and OOM, best‑practice concurrency controls, task queue architecture, and practical code illustrations.

AsynchronousProcessingBackendBatchProcessing
0 likes · 6 min read
Mastering Asynchronous Batch Processing with JDK 21 Virtual Threads
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2024 · Backend Development

Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development

This article explains Java virtual threads, contrasting them with platform threads, and shows how to create, schedule, and use them effectively with Thread.Builder and Executors to achieve high‑throughput, low‑latency server applications while avoiding common pitfalls like pooling and pinning.

JDK21Virtual Threadsbackend-development
0 likes · 14 min read
Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development
Sohu Tech Products
Sohu Tech Products
May 21, 2024 · Backend Development

Debugging java.net.spi.InetAddressResolverProvider SPI Failure with OpenTelemetry Java Agent in Spring Boot

The article explains how a custom java.net.spi.InetAddressResolverProvider SPI that works in a regular Spring Boot 3.x JAR fails when the OpenTelemetry Java agent is added because the agent’s JarLoader cannot read the SPI configuration inside the BOOT‑INF layout, and resolves the issue by disabling the agent’s own resolver resource so the custom provider is used.

JDK21OpenTelemetrySPI
0 likes · 11 min read
Debugging java.net.spi.InetAddressResolverProvider SPI Failure with OpenTelemetry Java Agent in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 13, 2024 · Fundamentals

Unlock Java 21: Master Record Patterns, Switch Enhancements, and New Templates

This article explains Java 21’s preview features—including record patterns, enhanced switch expressions, virtual threads, string template processors, sequenced collections, and unnamed patterns—showing how they simplify type checks, pattern matching, and code readability with practical code examples.

JDK21Sequenced CollectionsString Templates
0 likes · 18 min read
Unlock Java 21: Master Record Patterns, Switch Enhancements, and New Templates
Architect
Architect
Feb 1, 2024 · Backend Development

Design and Optimization of Trace2.0: A High‑Performance Backend Tracing System

Trace2.0 is an OpenTelemetry‑based application monitoring system that processes petabyte‑scale trace data using multi‑channel client protocols, gRPC, load‑balancing optimizations, ZSTD compression, Kafka pipelines, ClickHouse storage, and a JDK 21 upgrade with virtual threads, achieving significant performance and cost improvements.

JDK21OpenTelemetryclickhouse
0 likes · 15 min read
Design and Optimization of Trace2.0: A High‑Performance Backend Tracing System
FunTester
FunTester
Dec 19, 2023 · Backend Development

How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade

After upgrading to IntelliJ 2023.3 for better JDK 21 virtual‑thread support, users encounter a Groovyc ClassNotFoundError caused by missing IntelliJ internal classes, and the article outlines the affected builds and three practical work‑arounds, including a JVM option to run Groovyc in‑process.

Build ProcessGroovyIntelliJ
0 likes · 4 min read
How to Resolve IntelliJ 2023.3 Groovyc ClassNotFoundError After JDK 21 Upgrade
macrozheng
macrozheng
Oct 27, 2023 · Backend Development

Unlock 20× Faster Java Concurrency with JDK21 Virtual Threads

This article explains JDK21's new virtual threads, compares them with traditional thread pools through a 10,000‑thread benchmark, shows over 20‑fold performance gains, and provides practical code examples and configuration tips for Java developers.

JDK21Java concurrencyPerformance Test
0 likes · 8 min read
Unlock 20× Faster Java Concurrency with JDK21 Virtual Threads
Selected Java Interview Questions
Selected Java Interview Questions
Oct 10, 2023 · Fundamentals

New Features in Java 21: Project Amber, Loom, Panama, and Core Library Enhancements

Java 21, released on September 19 as a long‑term‑support release with eight years of Oracle support, introduces fifteen JEPs—including preview string templates, record patterns, switch pattern matching, virtual threads, scoped values, structured concurrency, foreign function & memory APIs, and a new sequenced‑collection interface—along with numerous performance, security, and deprecation updates, all illustrated with code examples.

JDK21Project AmberProject Loom
0 likes · 13 min read
New Features in Java 21: Project Amber, Loom, Panama, and Core Library Enhancements
Programmer DD
Programmer DD
Sep 26, 2023 · Fundamentals

GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support

The new GraalVM for JDK 21 brings full virtual‑thread support, native‑image capabilities without preview flags, performance improvements, early Java Vector API optimizations, and a high‑performance runtime for Java and other languages, with download links and additional resources for developers.

JDK21Virtual Threadsgraalvm
0 likes · 4 min read
GraalVM for JDK 21 Released – Full Virtual Thread & Native Image Support
macrozheng
macrozheng
Sep 20, 2023 · Fundamentals

Why JDK 21’s Virtual Threads Could Revolutionize Java Concurrency

The article announces the official GA release of JDK 21, explains common version labels such as Alpha, Beta, RC and LTS, highlights the standout Virtual Threads feature requiring minimal code changes, and reviews the fifteen new JEPs across core libraries, language specifications, HotSpot and security enhancements.

JDK21JavaFeaturesVirtualThreads
0 likes · 12 min read
Why JDK 21’s Virtual Threads Could Revolutionize Java Concurrency
Architecture Digest
Architecture Digest
Jun 16, 2023 · Backend Development

Generational Shenandoah GC Feature Removed from Java 21

Java 21, slated for release on September 19, 2023 as the next LTS version after Java 17, will drop the experimental Generational Shenandoah garbage‑collector feature during its Ramp‑down phase due to insufficient readiness, with the change slated for removal by the June 14 review deadline.

Garbage CollectionGenerational GCJDK21
0 likes · 4 min read
Generational Shenandoah GC Feature Removed from Java 21