-
Notifications
You must be signed in to change notification settings - Fork 9
add guidance on bpools #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2446bb7
add guidance on bpools
juecd 1adb4ac
Merge branch 'main' into cj/pools-guidance
dprevoznik ef4f2b8
add page about performance and latency, cuz we the best
juecd 3fc7cb1
Merge remote-tracking branch 'refs/remotes/origin/cj/pools-guidance' …
juecd 5b2264b
broken link
juecd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| title: "Performance" | ||
| --- | ||
|
|
||
| Kernel browsers [benchmark](https://www.kernel.sh/benchmarks) as the fastest, most performant browsers in the market. | ||
|
|
||
| ### Kernel browser creation latency | ||
| | Benchmark | Latency | Last reported | | ||
| |-----------|---------|---------------| | ||
| | P50 | 30ms | April 24, 2026 | | ||
| | P99 | 105ms | April 24, 2026 | | ||
|
|
||
| ### Troubleshooting latency | ||
| If you're experiencing slower-than-expected browser creation (or [browser pool acquisition](/browsers/pools/overview)), review your configuration for the following: | ||
|
|
||
| 1. App code ⇔ Kernel browser region | ||
|
|
||
| Kernel browsers run in `us-east`. Use our [app platform](/apps/develop) to colocate your browser agent or automation. | ||
|
|
||
| 2. Create browser rate limit | ||
|
|
||
| Kernel enforces [rate limits](/info/pricing#rate-limiting) on browser creation based on your plan. Our SDKs automatically retry, respecting the `Retry-After` header for delay timing. If retries are exhausted, the SDK throws a typed `RateLimitError` with the response headers accessible for custom backoff logic. | ||
|
|
||
| 3. Non-default browser configurations | ||
|
|
||
| Certain browser configurations trigger Chromium to restart, which can take several seconds. Use [browser pools](/browsers/pools/overview) to access browsers with custom configurations faster. The following configurations cause browser restarts, as well as disrupt active CDP connections: | ||
| - Custom viewport configurations | ||
| - Chrome extensions | ||
| - Setting the live view to `kiosk mode` | ||
|
|
||
| 4. Browser pool refill rate | ||
|
|
||
| Browser pools fill at a [specified rate](https://www.kernel.sh/docs/api-reference/browser-pools/create-a-browser-pool#body-fill-rate-per-minute). Read about browser pool lifecycle best practices [here](/browsers/pools/overview#how-browser-pools-work). |
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
File renamed without changes.
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API reference links use inconsistent
www.subdomainLow Severity
The two new
/api-reference/links usehttps://www.kernel.sh/docs/api-reference/...instead of the prescribed formathttps://kernel.sh/docs/api-reference/.... The rest of the same file (and codebase) consistently uses the non-www.form. Thewww.variant may not be recognized as an external link by themint broken-linksCI checker, potentially causing build failures.Additional Locations (1)
browsers/pools/overview.mdx#L16-L17Triggered by learned rule: Use absolute URLs for /api-reference/ links
Reviewed by Cursor Bugbot for commit 2446bb7. Configure here.