Snodo.Extensions.Tasks.Stress (snodo_tasks v0.4.0)

Copy Markdown View Source

Deterministic correctness workloads for Tasks contention and runner soak.

The harness exercises the in-memory store reference implementation. It reports exact lifecycle invariants separately from observed timings so the same workload can run in CI and on developer machines without flaky latency thresholds. Database adapters should apply the same report shape in their own environment-specific soak jobs.

This is diagnostic evidence, not a production capacity claim.

Summary

Functions

Runs deterministic CAS-contention and runner-soak workloads.

Types

report()

@type report() :: %{required(String.t()) => term()}

Functions

run(opts \\ [])

@spec run(keyword()) :: report()

Runs deterministic CAS-contention and runner-soak workloads.