Skip to content
Back to skills

Brightdata Performance Tuning

ASecurity

Analyze and tune a Bright Data workload from measured phase latency, failure classes, and bounded experiments instead of undocumented provider assumptions. Use when improving throughput or tail latency. Trigger with: "speed up Bright Data", "tune Browser API performance", "reduce snapshot latency".

  • 2,719 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 21, 2026
ai-agentsapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add jeremylongshore/claude-code-plugins-plus --skill brightdata-performance-tuning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brightdata Performance Tuning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brightdata Performance Tuning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jeremylongshore-brightdata-performance-tuning-af457010/badge)](https://www.skillsdirectory.com/skills/jeremylongshore-brightdata-performance-tuning-af457010)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brightdata-performance-tuning
description: 'Analyze and tune a Bright Data workload from measured phase latency, failure classes, and bounded experiments instead of undocumented provider assumptions. Use when improving throughput or tail latency. Trigger with: "speed up Bright Data", "tune Browser API performance", "reduce snapshot latency".'
allowed-tools: Read, Grep, Write, Edit
version: 2.0.0
argument-hint: "[trace-or-workload]"
model: inherit
effort: high
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- web-data
- bright-data
- performance-tuning
- operations
compatibility: 'Requires an approved workload, phase-level telemetry, representative fixtures, and a bounded canary environment'
---
# Bright Data Evidence-Based Performance Tuning

## Overview

Improve the slowest measured phase while preserving authorization, correctness, and cost ceilings. Choose the Bright Data product that matches the interaction, separate provider time from local queue and processing time, change one variable, and retain rollback evidence.

## Prerequisites

- Approved targets and representative request or snapshot fixtures
- Baseline traces for queue, connect, provider, transfer, parse, and downstream phases
- Explicit latency, success, concurrency, byte, and cost thresholds

## Instructions

### Step 1: Build the baseline

Read traces and Grep for serialized work, unbounded concurrency, full-body buffering, repeated browser startup, hot polling, and retry amplification. Segment by product, target class, response size, and error class.

### Step 2: Verify product fit

Use proxy requests for simple HTTP collection, Browser API when a browser session is actually required, and asynchronous scraper snapshots for batch workloads. Do not hide a product mismatch with more concurrency.

### Step 3: Run one-variable experiments

Write or Edit a canary plan that changes only batch size, worker concurrency, connection reuse, browser-session reuse, polling cadence, streaming boundary, or downstream parallelism. Keep admission, byte, and cost ceilings fixed.

### Step 4: Decide from evidence

Compare median and tail latency, success, 429, provider errors, bytes, queue time, and unit cost. Retain changes only when the target metric improves without violating safety, correctness, or budget constraints.

## Tool Discipline

Use Read and Grep for trace and implementation analysis. Use Write and Edit for benchmarks, fixtures, canary configuration, and the decision record. This skill does not generate production load or alter live Bright Data resources.

## Output

- Phase-level baseline and identified bottleneck
- One-variable experiment matrix with ceilings
- Keep or rollback decision supported by metrics

## Examples

A snapshot workload spends most time parsing after download. Streamed NDJSON parsing lowers memory and tail latency in a fixed-size canary while provider concurrency and collection scope remain unchanged.

## Error Handling

| Failure | Meaning | Response |
|---------|---------|----------|
| Baseline mixes unlike products | Comparison is invalid | Segment proxy, Browser API, and snapshot paths |
| Throughput rises with more 429 responses | Concurrency exceeds an effective boundary | Back off and lower admission |
| Faster output loses records | Optimization broke correctness | Roll back and add integrity assertions |

## Resources

- [Browser API introduction](https://docs.brightdata.com/products/scraping-browser/introduction)
- [Download snapshot](https://docs.brightdata.com/api-reference/scrapers/delivery-apis/download-snapshot)
- [Asynchronous scraper workflow](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests)
- [Proxy error catalog](https://docs.brightdata.com/proxy-networks/errorCatalog)

Files in this skill

  • SKILL.md3.7 KB
  • references/official-docs.md759 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.