Repository navigation
fix(authz): reuse hierarchy and entity selector indexes - #3991
Draft
strantalis wants to merge 2 commits into
Draft
strantalis wants to merge 2 commits into
strantalis wants to merge 2 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
X-Test Failure Report |
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 1, 2026 16:06
434a9a1 to
e259715
Compare
Contributor
X-Test Failure Report |
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 1, 2026 21:03
e259715 to
c7e5a8b
Compare
Contributor
X-Test Failure Report |
strantalis
removed this pull request from stack #3992
October 1, 2026 21:07
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
strantalis
added this pull request to stack #4131
October 1, 2026 21:07
This was referenced Oct 1, 2026
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
This was referenced Oct 1, 2026
Contributor
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 1, 2026 22:10
c7e5a8b to
7a9a567
Compare
Contributor
X-Test Failure Report |
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
jakedoublev
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 2, 2026 19:45
7a9a567 to
dc6a597
Compare
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 4, 2026 22:47
dc6a597 to
fc4e4f1
Compare
Contributor
X-Test Failure Report |
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 5, 2026 17:08
fc4e4f1 to
865e887
Compare
Contributor
Benchmark results, click to expandBenchmark authorization.GetDecisions Results:
Benchmark authorization.v2.GetMultiResourceDecision Results:
Benchmark Statistics
Bulk Benchmark Results
TDF3 Benchmark Results:
|
Contributor
Signed-off-by: strantalis <strantalis@virtru.com>
Signed-off-by: strantalis <strantalis@virtru.com>
strantalis
force-pushed
the
codex/authz-perf/evaluation-indexes
branch
from
October 6, 2026 20:08
865e887 to
4c4b6b9
Compare
Contributor
X-Test Failure Report |
Contributor
Benchmark results, click to expandBulk Benchmark Results
TDF3 Benchmark Results
|
Contributor
Benchmark results, click to expandBulk Benchmark Results
TDF3 Benchmark Results
|
Contributor
|
Contributor
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build hierarchy ranks with the PDP and select the highest matching entitlement once per definition and decision. Index flattened selectors once per entity and deduplicate selectors before matched-mapping lookups.
Layer 4 of 4, based on #3990 and rebased on
mainatf992b60d. The merged #3983 workload replaces the superseded proof layer, #3993.Before this rebase, all three implementations passed 800 mixed requests, 200 at each concurrency level of 1/10/25/50, with identical sampled cases. At 50 concurrent requests:
Single local run per implementation and concurrency level on an 8-vCPU/16-GiB Colima VM. Same Go 1.26.3 compiler and Linux/arm64 runtime; setup excluded; caching and experimental features disabled. The measured improvement comes from #3986. The remaining layers showed no additional benefit in this workload.
Rebase verification (2026-10-05): all remaining patches are unchanged and based on
mainwith #3987 merged. Authorization race tests, SDK README tests, formatting, and lint for the stack diff passed. Full repository checks were not rerun for this unchanged-patch synchronization; the prior local run required Docker and the platform at localhost:8080, and full lint reported existing findings in unchanged files. Earlier performance measurements above were not rerun locally.