Tag

PortSharing

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Mar 11, 2025 · Backend Development

Zero‑Downtime SpringBoot Deployment by Sharing the Same Port

The article explains how to update a SpringBoot application without stopping the old process by detecting port usage, temporarily launching a new instance on an alternate port, then seamlessly switching the original port to the new instance, achieving near‑zero downtime.

DeploymentPortSharingSpringBoot
0 likes · 8 min read
Zero‑Downtime SpringBoot Deployment by Sharing the Same Port
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.

BackendPortSharingSpringBoot
0 likes · 8 min read
Zero‑Downtime SpringBoot Port Sharing: Design and Implementation