- Owns the Aspire deployment of exactly one database and node count for one benchmark job (BenchmarkComparisons, ADR-150).
Program.csvisibly composes, builds, runs and disposes the application.Resources/BenchmarkTopology.csreadsBenchmarks:Database,Benchmarks:Nodes,Benchmarks:KeyLoadImageandBenchmarks:DataRoot;Configuration/BenchmarkDatabases.cslists the databases and the node counts each supports;Identity/IsolatedDispatcher.csadds the selected database's resources.- The benchmark client (
benchmarks/KeyLoad.ComparisonHost) starts this AppHost throughAspire.Hosting.Testingand readsLoadTestClientSettings: the resources that must become healthy, the bootstrap containers that must exit with code 0 and the published connection string, endpoints and credentials. The client owns the workload, its verification and the result file; never add database work or the workload to this resource graph. - The ordinary development and functional-test host is
../KeyLoad.AppHost. Do not introduce another AppHost, resource runner or forwarding project.
- Every database runs from its pinned image and entry point. KeyLoad runs the
Release-published
ghcr.io/managedcode/keyloadserver image pinned to the digest inBenchmarks:KeyLoadImage, withKeyLoad:SiloCountandKeyLoad:ReplicaCountequal to the node count and the in-memory RapidMembership provider discovering silos on the container network. This host never builds or publishes a KeyLoad image. - A node count a database does not support is rejected before any resource starts; never present standalone instances as a cluster.
- Containers use session lifetime and anonymous writable volumes; readonly bootstrap and configuration mounts stay. Disposing the application removes only the resources this run created and preserves unrelated Docker resources.
- No evidence machinery: no resource observation, hardware capture, provenance options or receipts. Do not implement a database runtime, membership algorithm, scheduler or second container lifecycle here.
- Follow the root policy for storage safety, authorization, package ownership, versions, numeric gates and shared-checkout work.
From the repository root:
dotnet build build/KeyLoad.LoadTests.AppHost/KeyLoad.LoadTests.AppHost.csproj --no-restore -warnaserrorA real deployment is exercised by running one benchmark cell (see the BenchmarkComparisons feature). A build or a resource model alone proves no runtime, replication or performance behavior.
Use the installed Aspire skill for resource composition and lifecycle and the Orleans skill for KeyLoad cluster settings. No additional library, container framework or package version is authorized by this policy.