Tagged articles
6 articles
Page 1 of 1
Java Web Project
Java Web Project
Jan 23, 2026 · Backend Development

Zero‑Downtime Spring Boot Deployment: Sharing a Port Between Two Instances

This article explains how to update a Spring Boot application without stopping the old process by letting a new instance start on the same port, detailing the Tomcat internals, the required ServletContainerInitializer callbacks, and providing a complete, step‑by‑step implementation with code samples and a live test.

DeploymentJavaPortSharing
0 likes · 9 min read
Zero‑Downtime Spring Boot Deployment: Sharing a Port Between Two Instances
Top Architect
Top Architect
Dec 17, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances

This article explains how to update a SpringBoot application without stopping the service by letting the old and new processes share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation and a demo for seamless zero‑downtime deployments.

DeploymentJavaPortSharing
0 likes · 10 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Between Old and New Instances
Java Architect Essentials
Java Architect Essentials
Sep 5, 2025 · Backend Development

Zero‑Downtime SpringBoot Updates: Share the Same Port Seamlessly

This article explains how to achieve zero‑downtime updates for SpringBoot applications by allowing two processes to share the same port, detailing the underlying Tomcat and ServletContainerInitializer mechanisms, providing a step‑by‑step implementation with code examples, and demonstrating seamless hot‑swap without service interruption.

HotSwapServletSpringBoot
0 likes · 9 min read
Zero‑Downtime SpringBoot Updates: Share the Same Port Seamlessly
Architecture Digest
Architecture Digest
Aug 18, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Design and Implementation

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two processes to share the same port, detailing the underlying servlet container mechanics, the role of DispatcherServlet, and providing a complete Java implementation with step‑by‑step instructions and code samples.

BackendJavaPortSharing
0 likes · 8 min read
Zero‑Downtime SpringBoot Port Sharing: Design and Implementation
Java Architect Essentials
Java Architect Essentials
Jun 13, 2023 · Cloud Native

Zero‑Downtime Deployment with K8s and SpringBoot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Integration, and Config Separation

This article demonstrates how to achieve zero‑downtime releases for SpringBoot applications on Kubernetes by configuring readiness/liveness probes, rolling update strategies, graceful shutdown hooks, horizontal pod autoscaling, Prometheus monitoring, and externalized configuration via ConfigMaps.

ConfigMapHealthcheckKubernetes
0 likes · 13 min read
Zero‑Downtime Deployment with K8s and SpringBoot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Integration, and Config Separation