forge-docs

ECS Performance Testing Plan (Native + k6)

Overview

This document defines the structured performance testing workflow for validating the Forge Platform running on AWS ECS with GraalVM native images, using k6 load generation from an EC2 instance within the same VPC.

The goal is to establish:


Phase 1 — Baseline Confirmation (Stability Validation)

Objective

Confirm that the system behaves consistently at a fixed load level.

Test Configuration

Execution

Success Criteria

Output


Phase 2 — Baseline Consolidation

Objective

Convert raw runs into a single reference performance profile.

Process

Output


Phase 3 — Scaling Test Design

Objective

Define controlled load progression for stress testing.

VU Steps

Rules

Output


Phase 4 — Horizontal Scaling Curve Test

Objective

Measure system behaviour under increasing concurrency.

Metrics

For each VU level:

Success Criteria

Output


Phase 5 — Saturation Identification

Objective

Determine the system’s per-instance limits.

Indicators

Bottleneck Classification

Output


Phase 6 — Horizontal Scaling Validation

Objective

Verify linear scaling across multiple ECS tasks.

Setup

Metrics

Output


Phase 7 — Production-Style Load Testing

Objective

Simulate real-world traffic variability.

Patterns

Output


Phase 8 — Final Performance Model

Objective

Produce a formal performance characterization.

Deliverables

Outcome

A complete, defensible performance profile suitable for:


Summary

This plan progresses from:

  1. Stability validation
  2. Baseline consolidation
  3. Controlled scaling
  4. Saturation discovery
  5. Horizontal scaling validation
  6. Production behaviour modelling

Result: a full understanding of system performance characteristics under load.