Web Application
FREE TUTORIAL

How to Analyse, Design & Re-Launch an Enterprise System the Right Way: Real-World Case Study (Sri Lanka QR Fuel Pass 2026)

On March 15, 2026, Sri Lanka's Ministry of Energy activated the National Fuel Authorization System — a QR-code-based fuel quota platform first deployed during the 2022 foreign exchange crisis. The trigger this time: geopolitical instability in the Middle East threatening supply routes, compounded by a surge in local hoarding and black-market activity. By day one, the system was already under severe strain. New vehicle registrations were failing with "temporary interruption" messages. The national helpline was overwhelmed. Owners who had changed vehicles or phone numbers since 2022 — the system's data baseline — found themselves locked out entirely.

Difficulty
Intermediate
Duration
35 min
Learning
Step-by-Step
Share Guide:
How to Analyse, Design & Re-Launch an Enterprise System the Right Way: Real-World Case Study (Sri Lanka QR Fuel Pass 2026)

Tutorial Overview

  • Type: Interactive Case Study
  • Level: All Levels
  • Read Time: ~35 minutes
  • Case: Sri Lanka Fuel Pass Re-Launch
Tech Lead Note

"This tutorial is structured so junior developers learn the 'why', and tech leads get reusable architectural frameworks."

What You'll Learn

  • Formal Gap Analysis Frameworks
  • Lifecycle Management Module Design
  • Three Dimensions of Scalability
  • Pre-launch Readiness Checklists

The Problem

On 15 March 2026, the Sri Lankan QR Fuel Pass was re-activated. Within hours, it was failing—not by "crashing", but by systematically locking out thousands of legitimate users.

Core Symptoms
  • • Identity lockouts for 2022 registrants
  • • Incompatible ownership data states
  • • Hotline capacity collapse

I. Understand the Failure

1A. The 2026 Resumption

Systems archived in 2023 were reactivated for 2026 without data reconciliation. The system attempted to solve a 2026 problem using a 2023 snapshot of the world.

1B. Root Cause Matrix

No Lifecycle Management
Static records for living entities.
No Gap Analysis
Proceeded on wrong assumptions.
Misunderstood Scale
Ignoring operational bottlenecks.

II. Business Analysis: Gap Analysis

Gap Analysis Template

CategoryCurrent (Snapshot)Target (Live)Severity
Data2022 Phone NumbersLive Carrier DataBLOCKER
FunctionalSingle Owner FlowTransfer Flow RequiredBLOCKER
IntegrationAPI v1.2API v2.4 (Current)HIGH

Hands-On Exercise 1

Document 6 gaps across Data and Functional categories for the 2026 re-launch.

III. Architecture: Lifecycle Management

3A. State Transitions

Lifecycle Flowtext
[Registered] -> [Active] -> [Transferred] -> [Archived]

3B. Bi-temporal Data Model

Lifecycle Schemasql
CREATE TABLE vehicle_owner (
    id UUID PRIMARY KEY,
    status VARCHAR(20) NOT NULL, -- active, suspended, transferred
    valid_from TIMESTAMPTZ NOT NULL,
    valid_to TIMESTAMPTZ -- NULL means currently active
);

IV. System Design: Scalability

Infrastructure

Scaling compute resources (Auto-scaling, CDNs).

Functional

Modular service boundaries and config-over-code.

Operational

Support triaging and automated exception handling.

4B. Spike-Resilient Architecture

Infrastructure Patterntext
[Users] -> [Load Balancer] -> [Queue] -> [Async Worker Pool] -> [Primary DB]

V. READINESS CHECKLIST

Business Analysis

  • Formal Gap Analysis
  • Requirements Refresh

Architecture

  • Lifecycle Module
  • Bi-temporal Model

QA & System

  • Spike Load Testing
  • Exception Pipeline

Applying Common Habits

The Analysis Habit

Run a Gap Analysis even informally. Ask: 'What has changed?'

Entity Lifecycles

Map how real-world things change. Ensure systems handle them.

Technical Glossary

Gap AnalysisFormal comparison between system states.
Bi-temporal DataTracking recording time vs valid time.
Functional ScaleAbsorbing requirements without core rewrites.

Enterprise Resilience

Architecture is about decisions made before code is written. By applying these frameworks, you ensure your systems thrive in real-world complexity.

Table of Contents

Reading Progress
0%
WhatsApp