backend

command
v0.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Minimal HTTPS backend for nexus-proxy stress testing.

Generates a self-signed cert at startup, serves a tiny "ok" response on every path, and is concurrency-safe for high RPS. Pairs with nexus-proxy-client to register the host with a nexus dev instance, then the stress harness in scripts/stress/run.sh hits the public nexus URL.

Usage:

go run ./scripts/stress/backend -addr :18443 -hostname stress.example.com

The self-signed cert is fine for stress testing because nexus is a TLS passthrough — load testers verify against this backend's cert, not nexus's. Use --insecure / -k on the load tester side.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL