Skip to content

the introspection cache and buildkey solution#1021

Open
Zetazzz wants to merge 9 commits intoconstructive-io:mainfrom
Zetazzz:perf/multi-tenancy-cache-v5
Open

the introspection cache and buildkey solution#1021
Zetazzz wants to merge 9 commits intoconstructive-io:mainfrom
Zetazzz:perf/multi-tenancy-cache-v5

Conversation

@Zetazzz
Copy link
Copy Markdown
Contributor

@Zetazzz Zetazzz commented Apr 20, 2026

This PR implements a new multi-tenancy optimization strategy without changing Graphile/Crystal internals, centered on exact-match buildKey-based handler reuse. Build keys are derived from connection identity, schemas, and role inputs, allowing requests with identical build inputs to share the same Graphile handler while preserving strict isolation semantics. The PR also adds perf stress-test coverage, including shape-variant perf tooling, so the new caching path can be exercised and evaluated under load without reintroducing template sharing or SQL rewriting.

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