Example files

Article: https://youdozi.github.io/en/posts/2026-10-31-jdk-10k-rps-architecture/

Extract into a new empty directory and run commands from that directory.

Environment
JDK 27 with matching javac/java; locally observed on Temurin 27.0.1.0.2+1, macOS AArch64. No preview flags, external dependencies or network requests.

Commands
javac --release 27 AdmissionDemo.java
java AdmissionDemo

Scope
Tests a two-permit admission gate with virtual workers, excess rejection and normal/failing permit return. Not a rate limiter or HTTP server. No 10k RPS test, deadlines, infrastructure deployment, database/cache/queue integration or production capacity validation.

Read the article for outputs, conditions and failure cases. PROVENANCE.json records the source and file hashes; hashes establish identity, not correctness.
