Skip to content

Add Cloud PDP benchmarks documentation#624

Open
omer9564 wants to merge 2 commits into
masterfrom
omer/per-14545-upload-cloud-pdp-benchmarks-to-the-docs
Open

Add Cloud PDP benchmarks documentation#624
omer9564 wants to merge 2 commits into
masterfrom
omer/per-14545-upload-cloud-pdp-benchmarks-to-the-docs

Conversation

@omer9564
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new Cloud PDP Benchmarks page under Concepts → PDP with RBAC and ReBAC performance data
  • Includes latency percentiles (P50–P99), throughput, and results across concurrency levels (1 and 10) and ReBAC relationship depths (1–3 hops)
  • Adds sidebar entry under "The Policy Decision Point (PDP)" section

Test plan

  • Verify the page renders correctly on the Netlify preview
  • Confirm sidebar link appears under PDP section
  • Review benchmark data accuracy

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear Bot commented Apr 21, 2026

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for permitio-docs ready!

Name Link
🔨 Latest commit c98ac9a
🔍 Latest deploy log https://app.netlify.com/projects/permitio-docs/deploys/6a1ee99986882200081fc614
😎 Deploy Preview https://deploy-preview-624--permitio-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation page describing Cloud PDP performance benchmarks and links it from the PDP section in the docs sidebar.

Changes:

  • Added a new Cloud PDP Benchmarks MDX page with RBAC/ReBAC latency and throughput tables.
  • Linked the new page under The Policy Decision Point (PDP) in the docs sidebar.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
sidebars.js Adds the new Cloud PDP benchmarks doc to the PDP sidebar section.
docs/concepts/pdp/cloud-pdp-benchmarks.mdx Introduces benchmark results and key takeaways for Cloud PDP performance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## Key Takeaways

- **Sub-15 ms average latency** across all policy models at the P50 level, even under concurrent load.

- **Sub-15 ms average latency** across all policy models at the P50 level, even under concurrent load.
- **Throughput scales linearly** — 10 concurrent requests yield ~10x throughput with minimal latency increase.
- **ReBAC depth has modest impact** — adding relationship depth (1 → 3 hops) increases average latency by only ~3 ms under the same concurrency.
Comment on lines +10 to +11
All tests were run against a production Cloud PDP endpoint over a **10-minute window** per scenario. Latencies are round-trip times (request → response) over HTTPS.

Copy link
Copy Markdown
Contributor

@zeevmoney zeevmoney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated review. See comments.


## Key Takeaways

- **Sub-15 ms average latency** across all policy models at the P50 level, even under concurrent load.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Statistic mislabeled — "average latency" and "P50" are conflated

This takeaway reads "Sub-15 ms average latency ... at the P50 level", but average (mean) and P50 (median) are two different statistics. The reader can't tell which one the "Sub-15 ms" claim refers to. Both happen to be true against the tables (P50 Avg ranges 6.43–12.0 ms; Average-latency Avg ranges 7.80–14.5 ms), so pick one and state it cleanly.

Suggestion: Reword to a single statistic, e.g. "P50 latency stays under 15 ms across all policy models, even under concurrent load" (or "average latency under 15 ms ...").

(Copilot raised this on this line and it is still unresolved/unaddressed.)

## Key Takeaways

- **Sub-15 ms average latency** across all policy models at the P50 level, even under concurrent load.
- **Throughput scales linearly** — 10 concurrent requests yield ~10x throughput with minimal latency increase.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Throughput scales linearly" overclaims from two data points

The data has only two concurrency levels (1 and 10), so "scales linearly" is stronger than the measurements support — two points can't establish linearity, and the relationship isn't even exactly 10x (RBAC: 5.80 → 56.5 req/s ≈ 9.7x; ReBAC depth-1: 5.43 → 54.7 ≈ 10.1x). Soften to the observed claim.

Suggestion: "Throughput scales near-linearly with concurrency — 10 concurrent requests yield roughly 10x throughput with minimal latency increase."

(Copilot raised this on this line and it is still unresolved/unaddressed.)


This page presents performance benchmarks for the **Cloud PDP**, measured across different policy models, concurrency levels, and relationship depths.

All tests were run against a production Cloud PDP endpoint over a **10-minute window** per scenario. Latencies are round-trip times (request → response) over HTTPS.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark methodology underspecified

For readers to interpret these numbers, the intro should state the measurement conditions: the date/period the run was taken, the Cloud PDP region and the client (load-generator) region/proximity, which endpoint(s) were exercised (e.g. POST /allow), the request/payload shape, and the policy size (number of roles/resources/relationship tuples). Without these, "5.80 req/s at single concurrency" is hard to reconcile (a single-client closed-loop run is throughput = 1 / latency, which the 8.17 ms avg ≈ 5.8 req/s confirms — worth stating explicitly so it doesn't read as a throughput ceiling).

Suggestion: Add a short "Methodology" paragraph under the intro listing date, regions, endpoint, payload, policy size, and load model (closed-loop vs open-loop).

(Copilot raised this on the intro line and it is still unresolved/unaddressed.)

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.

3 participants