---
title: "Discussion on \"How I Cut Infrastructure Costs by Building an Auto-Shutdown Mechanism for a Long-Running Java Batch Pipeline on an Ephemeral Cluster\" | Hashnode"
description: "Discussion on \"How I Cut Infrastructure Costs by Building an Auto-Shutdown Mechanism for a Long-Running Java Batch Pipeline on an Ephemeral Cluster\". A production story about cost reduction, Quartz scheduler design, and gracefully shutting down a Java application that was never built to stop itself."
url: "https://hashnode.com/posts/how-i-cut-infrastructure-costs-by-building-an-auto-shutdown-mechanism-for-a-long-running-java-batch-pipeline-on-an-ephemeral-cluster/6a4ae7e61c97d37e56e15f70"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Cut Infrastructure Costs by Building an Auto-Shutdown Mechanism for a Long-Running Java Batch Pipeline on an Ephemeral Cluster](https://rithwikn.hashnode.dev/how-i-cut-infrastructure-costs-by-building-an-auto-shutdown-mechanism-for-a-long-running-java-batch-pipeline-on-an-ephemeral-cluster?utm_source=hashnode&utm_medium=feed)

A production story about cost reduction, Quartz scheduler design, and gracefully shutting down a Java application that was never built to stop itself.

Jul 5 · 7 min read · rithwikn.hashnode.dev  
Read the article

-   [#cloud](https://hashnode.com/tag/cloud)
-   [#java](https://hashnode.com/tag/java)
-   [#airflow](https://hashnode.com/tag/airflow)
-   [#data-engineering](https://hashnode.com/tag/data-engineering)
-   [#spark](https://hashnode.com/tag/spark)
-   [#kafka](https://hashnode.com/tag/kafka)
-   [#Spark](https://hashnode.com/tag/Spark)
-   [#gcp](https://hashnode.com/tag/gcp)
-   [#azure](https://hashnode.com/tag/azure)
-   [#python](https://hashnode.com/tag/python)
-   [#dataproc](https://hashnode.com/tag/dataproc)

## Written by

[Rithwik Kumar Nagulapati](https://hashnode.com/@rithwikn)

@rithwikn · San Francisco, USA

  
[View profile](https://hashnode.com/@rithwikn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
