Skip to content

perf: prepare workshop schema during startup - #139

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

accesswatch merged 1 commit into
mainfrom
perf/prepare-workshop-store-on-startup

Conversation

@accesswatch

Copy link
Copy Markdown
Collaborator

Summary

  • Initialize the workshop store and its per-process schema cache during worker startup.
  • Keep startup ordering ahead of conference mapping loads and request handling.
  • Prevent concurrent first requests from triggering schema checks and DDL in the same SQLite database.

Validation

  • Python syntax compilation and git diff --check passed.
  • Production run on 9e943e3 improved to p95 1,489ms with 7 requests over 2s; remaining tail was concentrated in join preflight, indicating first-connection setup still happened lazily in one worker.
  • CI will run the full test suite.

@accesswatch
accesswatch merged commit ac966e9 into main Oct 22, 2026
6 checks passed
@accesswatch
accesswatch deleted the perf/prepare-workshop-store-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