Tag

Port Sharing

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jul 26, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Running Two Instances on the Same Port

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two instances to share the same port, detailing the underlying Tomcat embedding mechanism, DispatcherServlet handling, and providing a complete Java implementation with step‑by‑step instructions and test results.

JavaPort SharingSpringBoot
0 likes · 7 min read
Zero‑Downtime SpringBoot Port Sharing: Running Two Instances on the Same Port
Code Ape Tech Column
Code Ape Tech Column
Jul 23, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Design, Implementation, and Testing

This article explains how to enable two SpringBoot processes to share the same port for seamless code updates, covering the underlying servlet container mechanics, the required initialization flow, and providing a complete Java implementation with a demo that achieves near‑zero downtime during deployment.

Backend DevelopmentJavaPort Sharing
0 likes · 9 min read
Zero‑Downtime SpringBoot Port Sharing: Design, Implementation, and Testing