Skip to content

perf: prime workshop mappings during startup - #138

Merged
accesswatch merged 1 commit into
mainfrom
perf/warm-workshop-config-on-startup
Oct 22, 2026
Merged

accesswatch merged 1 commit into
mainfrom
perf/warm-workshop-config-on-startup

Conversation

@accesswatch

Copy link
Copy Markdown
Collaborator

Summary

  • Load configured workshop access-code mappings during app startup, ahead of participant traffic.
  • Keep the request-time loader so config file or environment changes are still detected and applied.
  • Avoid making the first landing-page requests perform the initialization writes against the shared workshop SQLite database.

Validation

  • Python syntax compilation and git diff --check passed.
  • Production preflight timings on 7e21b5e remained the main tail (p95 1,371ms, 19 requests over 2s), so this moves that one-time setup away from the request path.
  • CI will run the full test suite and contention rehearsal.

@accesswatch
accesswatch merged commit 9e943e3 into main Oct 22, 2026
5 checks passed
@accesswatch
accesswatch deleted the perf/warm-workshop-config-on-startup branch October 28, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant