Skip to content

Backpressure & Retry Configuration Page #318

@ElioNeto

Description

@ElioNeto

Backpressure & Retry Configuration Page

Create an Angular page for monitoring backpressure signals and configuring retry/backoff policies using the existing backpressure and retry infrastructure.

Backend Endpoints Needed

GET    /admin/backpressure/status       — Current backpressure level (none, mild, severe, critical)
GET    /admin/backpressure/metrics      — Backpressure metrics (queue depths, wait times)
GET    /admin/retry/config              — Current retry/backoff configuration
PUT    /admin/retry/config              — Update retry/backoff config
GET    /admin/retry/stats               — Retry statistics (attempts, successes, failures)

UI Requirements

Backpressure Monitor

  • Gauge: Current backpressure level with color coding
    • Green: None
    • Yellow: Mild
    • Orange: Severe
    • Red: Critical
  • Queue Depths: Memtable flush queue, compaction queue, write queue
  • Wait Times: Average wait time for operations
  • Trend: Mini sparkline chart showing backpressure over last 60s

Retry Configuration

  • Max Retries: Number input (0 = no retry)
  • Base Delay: Duration input (ms)
  • Backoff Multiplier: Float input (e.g., 2.0 for exponential)
  • Max Delay: Maximum delay cap
  • Retryable Errors: Which error types should be retried

Retry Statistics

  • Success Rate: % of retries that succeeded
  • Attempts Distribution: Chart showing attempts per operation
  • Recent Retries: Table with timestamp, operation, attempts, final result

Acceptance Criteria

  • Backpressure gauge shows current level
  • Queue depths display correctly
  • Retry config can be viewed and updated
  • Retry statistics show success/failure rates
  • Error states for API failures

Parent Epic

#290

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions