Skip to content

Demo Proposal: Chaos engineering - circuit breaker for a severed dependency link - #2995

Merged
ericcornelissen merged 1 commit into
KTH:2026from
gruendlich:2026
Sep 9, 2026
Merged

Demo Proposal: Chaos engineering - circuit breaker for a severed dependency link#2995
ericcornelissen merged 1 commit into
KTH:2026from
gruendlich:2026

Conversation

@gruendlich

Copy link
Copy Markdown
Contributor

Assignment Proposal

Title

Chaos engineering: circuit breaker for a severed dependency link

Names and KTH ID

Deadline

Week 7

Category

Demo

Description

We containerise a Vite/React frontend, Python backend and Elasticsearch, with
Toxiproxy between backend and Elasticsearch. We sever that link live and show the
backend's circuit breaker open, degrade gracefully, then close again on its own once
the link returns, no manual intervention. Time permitting, we contrast this with a
naive watcher that kills and respawns the backend instead, showing live that this
just loops, since the new container hits the same severed link.

Relevance

Covers chaos and resilience engineering (week 7 preparatory material): steady state,
injected fault, observation, rollback, at the dependency level rather than the
infrastructure level of most prior demos. The respawn comparison shows that
remediation must act on the fault's actual location, tying into monitoring and
automated operational response.

@github-actions github-actions Bot added the demo One of the task categories listed in README.md label Sep 7, 2026
@gruendlich
gruendlich marked this pull request as ready for review September 7, 2026 14:47
@github-actions github-actions Bot removed the project label Sep 7, 2026
@ericcornelissen ericcornelissen self-assigned this Sep 8, 2026
@ericcornelissen

Copy link
Copy Markdown
Collaborator

Unfortunately, it looks like this idea is more or less identical to #2992, which was approved earlier. If you disagree please argue why. Otherwise, please close this and find another thing to demo.

@gruendlich

Copy link
Copy Markdown
Contributor Author

@ericcornelissen We'd like to argue this is sufficiently distinct. #2992 tests network
resilience as a CI gate: Toxiproxy runs inside GitHub Actions, failing a
PR when integration tests catch missing retry/timeout handling. Our demo
injects the same class of fault against a live running system at
runtime, with no CI pipeline involved, and shows a circuit breaker
(closed/open/half-open) recovering automatically, a different
resilience mechanism to plain retry-with-timeout. We also show a naive
alternative, killing and respawning the app, failing live because
respawning doesn't fix a network-layer fault, a comparison #2992 doesn't
make. We see these as testing-before-merge versus self-healing-in-
production, different DevOps concerns sharing only the fault-injection
tool.

If this is still to similar, we shall find another topic...

@ericcornelissen ericcornelissen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You convinced me, thanks for the proposal and arguments. Best of luck with the preparations 🙂

@ericcornelissen
ericcornelissen merged commit 07f42f9 into KTH:2026 Sep 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

demo One of the task categories listed in README.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants