SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Application Readiness Check

How the Application Readiness Health Check works and how you can configure it for your own application

Overview

🎓 beginner 15 min. SAP BTP Cloud Foundry Runtime And EnvironmentBeginnerCloud

You will learn

  • โœ”The difference between liveness and readiness health checks in Cloud Foundry
  • โœ”How readiness health checks prevent premature routing of traffic to app instances
  • โœ”How to configure readiness health checks using the app manifest
Beyhan Veli B Beyhan Veli April 13, 2026
Created by April 8, 2026
Contributors

Prerequisites

Steps

Step 1 Overview of Health Checks
โ€”

Cloud Foundry provides two categories of health checks to keep your applications healthy and available: liveness health checks and readiness health checks. Understanding the difference between them is essential for running reliable applications.

  • Liveness health checks validate that app instances are running. When a liveness health check fails, Cloud Foundry considers the instance crashed, stops it, and restarts it.
  • Readiness health checks validate that app instances are ready to serve requests. When a readiness health check fails, the app instance is removed from the route pool so that it no longer receives traffic, but it is not restarted.

There are three types available for both liveness and readiness health checks, as explained in the tutorial for Application Health Check:

  • http health checks perform a GET request to an endpoint.
  • port health checks make a TCP connection to the port (or ports) configured for the app.
  • process health checks check that a process stays running.

The default liveness health check type is port, while the default readiness health check type is process.

For more detailed information about the types of health checks, see Using Cloud Foundry Health Checks.

Readiness health checks are particularly useful when your application needs time after startup to load caches, establish database connections, or warm up before it can handle real traffic. Without a readiness health check, Cloud Foundry may route requests to an instance that is running but not yet ready, resulting in errors for your users.

Additionally, readiness health checks help in situations where an application instance becomes temporarily overloaded. If the instance determines it cannot handle new requests based on its internal metrics or logic, it can intentionally fail its readiness health check. This causes Cloud Foundry to automatically remove the overloaded instance from the routing pool, so it stops receiving traffic while still remaining running. Once the instance recovers and is able to handle new requests, its readiness health check will succeed again, and Cloud Foundry will add it back to the request queue. This mechanism helps prevent further overload, increases application stability, and allows instances to flexibly remove and re-add themselves as they become healthy.

Step 2 The Lifecycle of a Readiness Health Check
+
Step 3 Configuring a Readiness Health Check via the App Manifest
+
Step 4 Validate the readiness health check
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Overview of Health Checks 2. The Lifecycle of a Readiness Health Check 3. Configuring a Readiness Health Check via the App Manifest 4. Validate the readiness health check

Learn more →