Tagged articles
114 articles
Page 2 of 2
Top Architect
Top Architect
Jul 15, 2020 · Backend Development

Graceful Shutdown in Spring Boot 2.3: Configuration, Usage, and Best Practices

This article explains how Spring Boot 2.3 provides built‑in graceful shutdown for embedded web servers, how to enable it with configuration, the role of the Shutdown enum and timeout settings, and additional techniques such as Actuator endpoints and signal handling to ensure safe application termination.

ActuatorBackend DevelopmentGraceful Shutdown
0 likes · 5 min read
Graceful Shutdown in Spring Boot 2.3: Configuration, Usage, and Best Practices
Sohu Tech Products
Sohu Tech Products
Jun 3, 2020 · Backend Development

Graceful Shutdown in Spring Boot 2.3 and Earlier Versions

This article explains how to enable and use Spring Boot's graceful shutdown feature in version 2.3, including configuration of the embedded web server and Actuator, and also provides a custom solution for older Spring Boot releases to achieve smooth termination of ongoing requests.

ActuatorBackend DevelopmentGraceful Shutdown
0 likes · 8 min read
Graceful Shutdown in Spring Boot 2.3 and Earlier Versions
Programmer DD
Programmer DD
Jun 3, 2020 · Backend Development

Mastering Graceful Shutdown in Spring Boot 2.3: Best Practices & Code

This article explains why graceful shutdown is essential for Spring Boot and Spring Cloud applications, outlines key precautions, shows how Spring Boot 2.3 adds built‑in support, and provides configuration steps, code examples, and container‑specific behaviors to ensure clean service termination.

ActuatorGraceful ShutdownJava
0 likes · 7 min read
Mastering Graceful Shutdown in Spring Boot 2.3: Best Practices & Code
Java Architecture Diary
Java Architecture Diary
May 18, 2020 · Operations

How to Implement Graceful Shutdown in Spring Boot 2.3 and Avoid Data Loss

Learn how Spring Boot 2.3’s built-in graceful shutdown works, configure it with server.shutdown=graceful, understand shutdown phases, timeout settings, and see code examples for handling shutdown hooks and actuator endpoints, ensuring active requests finish without data inconsistency across Tomcat, Jetty, Netty, and Undertow.

ActuatorGraceful ShutdownWeb server
0 likes · 5 min read
How to Implement Graceful Shutdown in Spring Boot 2.3 and Avoid Data Loss
Big Data Technology Architecture
Big Data Technology Architecture
Mar 7, 2020 · Operations

How to Perform a Graceful Shutdown of an Elasticsearch Node

This article outlines a step‑by‑step procedure for safely taking an Elasticsearch node offline—checking master‑eligible settings, adjusting minimum_master_nodes, excluding the node from routing, waiting for shard relocation, stopping the service, and restoring the cluster routing—ensuring no data loss or service interruption.

Cluster ManagementDevOpsElasticsearch
0 likes · 6 min read
How to Perform a Graceful Shutdown of an Elasticsearch Node
Java Captain
Java Captain
Jan 18, 2020 · Backend Development

Graceful Shutdown Techniques for Spring Boot Applications

This article explains why graceful shutdown is important for Spring Boot services and demonstrates five practical methods—including Actuator shutdown, context closing, PID file handling, SpringApplication.exit, and a custom controller—each with complete code examples and usage instructions.

ActuatorGraceful ShutdownJava
0 likes · 8 min read
Graceful Shutdown Techniques for Spring Boot Applications
Programmer DD
Programmer DD
Oct 11, 2019 · Backend Development

Mastering Graceful Shutdown in Dubbo: From 2.5.x to 2.7.x

This article explores Dubbo's graceful shutdown mechanisms across versions 2.5.x, 2.6.x, and 2.7.x, detailing the underlying shutdown hooks, registry and protocol cleanup, Spring integration challenges, and best‑practice configurations to ensure in‑flight requests complete without service disruption.

DubboGraceful ShutdownJava
0 likes · 19 min read
Mastering Graceful Shutdown in Dubbo: From 2.5.x to 2.7.x
Programmer DD
Programmer DD
Jul 28, 2019 · Backend Development

How to Gracefully Shut Down a Spring Boot Application with Embedded Tomcat

Learn how to implement a smooth, graceful shutdown for Spring Boot applications that use an embedded Tomcat server by customizing the Tomcat connector, enabling the Actuator shutdown endpoint, and automating the process with scripts, ensuring in‑flight requests complete before the service stops.

ActuatorGraceful ShutdownSpring Boot
0 likes · 10 min read
How to Gracefully Shut Down a Spring Boot Application with Embedded Tomcat
Programmer DD
Programmer DD
Sep 22, 2018 · Backend Development

Why kill -9 vs kill -15? Mastering Graceful Shutdown in Spring Boot

This article explains the difference between kill -9 and kill -15 signals, how Spring Boot processes the TERM signal, and provides practical code examples for implementing graceful shutdown, including shutdown hooks, DisposableBean, and proper thread‑pool termination strategies.

DisposableBeanGraceful ShutdownJava
0 likes · 17 min read
Why kill -9 vs kill -15? Mastering Graceful Shutdown in Spring Boot
Programmer DD
Programmer DD
Apr 1, 2018 · Backend Development

Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors

This article explains why asynchronous @Async tasks using a custom ThreadPoolTaskScheduler can fail during application shutdown due to premature Redis connection pool destruction, and provides a step‑by‑step solution using Spring's shutdown configuration to wait for tasks to complete before closing resources.

AsyncGraceful ShutdownSpring Boot
0 likes · 8 min read
Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors
Node Underground
Node Underground
Oct 25, 2016 · Backend Development

How to Gracefully Shut Down Your Application: A Step-by-Step Guide

Graceful application shutdown prevents blocked requests, accidental data writes, and operation failures by releasing resources, closing database connections, and handling SIGTERM signals, and this article outlines a practical step-by-step process—including load balancer coordination and sample Node.js code—to ensure clean termination.

Graceful ShutdownResource CleanupSIGTERM
0 likes · 2 min read
How to Gracefully Shut Down Your Application: A Step-by-Step Guide
Node Underground
Node Underground
Nov 10, 2015 · Backend Development

Mastering Node.js Multi‑Process: Load Balancing, Graceful Shutdown & IPC

This article explains how to build a robust multi‑process Node.js server using the cluster module, covering round‑robin load balancing, graceful worker shutdown, process monitoring, and inter‑process communication with code examples for both master and worker processes.

ClusterGraceful ShutdownIPC
0 likes · 15 min read
Mastering Node.js Multi‑Process: Load Balancing, Graceful Shutdown & IPC