[ChaosLab]
01 / 14 Exit Deck
UCS503 · Software Engineering

ChaosLab

Declarative Recovery-Correctness Analysis for Distributed Microservices

Planning Presentation v1

TEAM: ChaosLab
Arjan Singh Sawhney (1024170074) · Himanshi Gupta (1024170079)
Harsith Mahay (1024170075) · Parth Singh (1024170086)
TIET · 2026
02

Table of Contents

  • 03 — Introduction
  • 04 — Project Scope
  • 05 — Proposed Functions
  • 06 — Target Users
  • 07 — System Features
  • 08 — Interfaces
  • 09 — Performance Goals
  • 10 — Security Measures
  • 11 — Quality Attributes
  • 12 — Initial Planning
  • 13 — Conclusion
  • 14 — References
03 · Introduction

Introduction

Overview

ChaosLab is a declarative recovery-correctness analysis platform for distributed microservices. It injects controlled failure into a running application and verifies whether the system's business state — not just its liveness — is correct after recovery.

Importance

Distributed systems are engineered to survive failure, but "recovered" and "correct" are not the same thing. Duplicate payments, missed inventory deductions, and contradictory service state can all occur silently behind green health checks.

Presentation Objectives

This deck covers our approved project scope, proposed functions, architecture, non-functional requirements, and initial planning for the semester.

04 · Project Scope

Project Scope

Project Aims

  • Verify recovery correctness, not just recovery liveness
  • Express business invariants declaratively via oracles
  • Validate oracle sensitivity with ground-truth mutation testing

Deliverables & Functionality

  • In scope: recovery-correctness verification for Online Boutique
  • In scope: oracle definitions, evidence correlation, PASS/FAIL verdicts
  • Out of scope: building a new chaos tool or auto-remediation

Note: fault injection (Chaos Mesh) is supporting infrastructure. ChaosLab's actual contribution is verifying recovery correctness after that failure.

05 · Proposed Functions

Proposed Functions

FunctionDescription
Define OracleAuthor a declarative recovery-correctness oracle for a business invariant.
Run ExperimentTrigger a controlled fault via Chaos Mesh through the Experiment Manager.
Collect EvidenceGather logs, DB snapshots, and OpenTelemetry traces after recovery.
Correlate EvidenceMerge evidence into one cross-service timeline of what happened.
Evaluate OracleCheck correlated evidence against the declarative oracle.
Generate VerdictProduce an auditable PASS/FAIL recovery-correctness report.
06 · Target Users

Target Users

Platform / SRE Teams

Already run chaos experiments; need to know if recovery preserved correct business state, not just uptime.

Backend Engineers

Own services with cross-service invariants — payments, inventory, order state — and want recovery-path regression coverage.

QA / Release Engineers

Validate a release candidate under failure conditions before it reaches production.

07 · System Features

System Features

Feature List

  • Declarative recovery oracles
  • Automatic evidence correlation
  • Business invariant verification
  • Controlled, reproducible fault experiments
  • Ground-truth mutation testing
  • Auditable correctness reports
Feature Interaction
Experiment Manager
Evidence Collector
Correlation Engine
Oracle Engine
Verdict Generator
08 · Interfaces

Interfaces

User Interface

The ChaosLab website: project pages, presentation archive, and an admin dashboard for publishing (UI built, backend pending).

Hardware / Software

Kubernetes cluster running Chaos Mesh; Online Boutique deployed as the target application under test.

Communication

Database queries for persisted state, log ingestion, and OpenTelemetry traces for cross-service request flow.

09 · Performance Goals

Performance Goals

  • Requirements: bounded evidence-collection window after recovery stabilizes; verdict generation without manual intervention
  • Importance: slow analysis undermines usefulness as a pre-release gate
  • Strategy: asynchronous evidence collection keyed by trace/experiment ID, oracle evaluation that scales to multiple invariants without a rewrite
10 · Security Measures

Security Measures

Data Protection

  • No secrets or credentials committed to the repository
  • Uploaded presentation files validated before storage (Phase 6+)

Access Control

  • Admin publishing gated behind authentication (Phase 5)
  • Least-privilege access to the Kubernetes cluster running Chaos Mesh
11 · Quality Attributes

Quality Attributes

Reliability

Experiments are reproducible under the same fault configuration; verdict generation is deterministic given the same evidence.

Usability

Oracles are readable without deep ChaosLab internals knowledge; verdicts clearly explain why a result was PASS or FAIL.

Maintainability

Oracle Engine, Evidence Collector, and Experiment Manager stay independent, testable modules with a versioned oracle schema.

12 · Initial Planning

Initial Planning

TaskSemester Timeline (12 weeks)
Planning & Feasibility
Oracle Engine Design
Experiment Manager
Evidence Collector
Correlation Engine
Verdict Engine
Mutation Testing
Integration & Demo

Feasibility

Online Boutique, Chaos Mesh, and OpenTelemetry are all open-source and self-hostable on a single Kubernetes cluster — validated as technically feasible within the semester timeline.

Milestones

  • Oracle language + Experiment Manager prototype
  • Evidence Collector + Correlation Engine integration
  • Verdict Engine + mutation-tested validation
13 · Conclusion

Conclusion

Summary

ChaosLab verifies recovery correctness, not just recovery liveness, for distributed microservices — using declarative oracles, evidence correlation, and mutation-tested verdicts.

Next Steps

Begin Oracle Engine design and Experiment Manager integration with Chaos Mesh, per the timeline in Initial Planning.

Feedback

We welcome questions and feedback on the proposed scope and architecture.

14 · References

References

  • Chaos Mesh — chaos-mesh.org
  • Online Boutique (microservices-demo) — GitHub, Google
  • OpenTelemetry — opentelemetry.io
  • UCS503 Software Engineering course materials, TIET