Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Graceful Degradation when Postgres Database Can Not Be Reached

Use Template

Graceful Degradation when Postgres Database Can Not Be Reached

Use Template

Graceful Degradation when Postgres Database Can Not Be Reached

Use Template

Graceful Degradation when Postgres Database Can Not Be Reached

Use Template
Go back to list

An unavailable Postgres database might be too severe for suitable fallbacks and requires your system to indicate unavailability appropriately

Motivation

Depending on your context, an unavailable Postgres database may be considered so severe that there are no suitable fallbacks. In this case, ensuring that your system indicates an appropriate error message is essential. After the Postgres database returns, your system should recover automatically.

Structure

We ensure that a load-balanced user-facing endpoint fully works while having all pods ready. When we simulate an unavailable Postgres database, we expect the user-facing endpoint to indicate unavailability by responding with a "Service unavailable" status. To simulate the unavailability, we can block the Postgres database client connection on its hostname so that no incoming or outgoing traffic goes through. The endpoint should recover automatically once the Postgres database is reachable again.


Tags
RDS
Postgres
Recoverability
Database
GitHub
steadybit/reliability-hub-db/tree/main/templates/db-postgresql.postgresql-unavailable
License
MIT
MaintainerSteadybit
Use Template

How to use this template?

Import via Hub Connection

Steadybit’s Reliability Hub is already connected to your platform. If you are an admin, you can just easily import templates with just one click.

Import template

Are you on-prem?

This is how you import Templates

Import as Experiment

Simply download the template and upload it as an experiment to use it once. Perfect if you are no administrator in the platform and just want to use the template once.

.json (4KB)

Block Traffic

Blocks network traffic (incoming and outgoing).

Attack

Attack

Containers

>_ boost your chaos journey Connect Your Hub to Steadybit

Maximise Steadybit potential! Connect your own Hub to the platform and smoothly import your own templates: using them it’s never been this easy!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon