Tagged articles
13 articles
Page 1 of 1
macrozheng
macrozheng
Jan 27, 2026 · Backend Development

Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads

A performance comparison of SpringBoot 4.0 with virtual threads shows Tomcat achieving up to fifteen times higher QPS than Jetty, while startup times remain similar, and provides step‑by‑step instructions for building native Docker images and switching containers.

DockerJettySpringBoot
0 likes · 10 min read
Why Tomcat Beats Jetty 15× with SpringBoot 4 Virtual Threads
Java Architecture Diary
Java Architecture Diary
Jan 8, 2026 · Backend Development

Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0

A detailed benchmark shows that enabling Java virtual threads in Spring Boot 4.0 makes Tomcat handle up to fifteen times more requests than Jetty, while startup times remain similar, and the article explains the test setup, configuration steps, native image builds, and the reasons behind Jetty's limitation.

DockerJettySpringBoot
0 likes · 10 min read
Why Tomcat Outperforms Jetty 15× with Virtual Threads in Spring Boot 4.0
Programmer DD
Programmer DD
Aug 29, 2024 · Backend Development

Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?

This article builds a simple Spring Boot Greetings API, configures Maven profiles for Tomcat, Jetty, and Undertow, creates Docker images for each, runs load‑testing benchmarks across multiple concurrency levels, and analyzes startup time, CPU, memory, and response performance to determine the optimal embedded server.

BenchmarkDockerJetty
0 likes · 20 min read
Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 28, 2024 · Backend Development

Master Spring Boot Web Server Configuration: Switch Servers, Ports, SSL, and More

This guide explains how to switch the embedded web server in Spring Boot 3.2.5, disable it, customize ports (including random and range ports), enable HTTP compression, configure SSL and HTTP/2, add servlets, filters, listeners, set up logging, and fine‑tune Tomcat and Undertow settings, all with practical code examples.

ConfigurationHTTP/2Jetty
0 likes · 14 min read
Master Spring Boot Web Server Configuration: Switch Servers, Ports, SSL, and More
vivo Internet Technology
vivo Internet Technology
Jun 21, 2023 · Backend Development

Design and Implementation of Jetty ManagedSelector and ExecutionStrategy

Jetty’s ManagedSelector wraps the native NIO selector and, together with its ExecutionStrategy abstractions, merges I/O detection and handling in a single thread or adaptive pool, using strategies such as ProduceConsume, ProduceExecuteConsume, ExecuteProduceConsume, and EatWhatYouKill to maximize cache reuse and minimize context‑switch overhead in high‑concurrency applications.

ExecutionStrategyJavaJetty
0 likes · 13 min read
Design and Implementation of Jetty ManagedSelector and ExecutionStrategy
Java Backend Technology
Java Backend Technology
Aug 9, 2020 · Backend Development

How a JDK Bug Makes ConcurrentLinkedQueue Leak Memory

An in‑depth investigation reveals how a long‑standing JDK bug in ConcurrentLinkedQueue causes memory leaks and performance degradation in Jetty’s QueuedThreadPool, illustrated with code demos, visual monitoring tools, and the eventual fix introduced in later JDK releases.

ConcurrentLinkedQueueJDKJava
0 likes · 14 min read
How a JDK Bug Makes ConcurrentLinkedQueue Leak Memory
WecTeam
WecTeam
Jul 23, 2020 · Backend Development

How We Reduced WebMonitor Latency from Minutes to Seconds – Architecture & Performance Secrets

This article chronicles the evolution of the WebMonitor front‑end monitoring system, detailing its three‑tier stack, data pipeline upgrades from raw disk sampling to HDFS and Elasticsearch, extensive collector‑side optimizations, Jetty thread and timeout tuning, and the resulting performance gains that lowered response times from minutes to sub‑second levels.

JavaJettydata pipeline
0 likes · 15 min read
How We Reduced WebMonitor Latency from Minutes to Seconds – Architecture & Performance Secrets
MaGe Linux Operations
MaGe Linux Operations
Jul 7, 2014 · Backend Development

Apache vs Tomcat vs Jetty vs Nginx vs JBoss: Key Differences Explained

This article compares the core features, use cases, and performance characteristics of popular web and application servers—Apache, Tomcat, Jetty, Nginx, and JBoss—highlighting their distinctions in handling static versus dynamic content, scalability, and integration with Java and other technologies.

ApacheApplication ServerJBoss
0 likes · 5 min read
Apache vs Tomcat vs Jetty vs Nginx vs JBoss: Key Differences Explained