Skip to content

Add run.sh for single-host orchestration#553

Open
SamirFarhat17 wants to merge 1 commit intofacebookresearch:v2-betafrom
SamirFarhat17:export-D98022682-to-v2-beta
Open

Add run.sh for single-host orchestration#553
SamirFarhat17 wants to merge 1 commit intofacebookresearch:v2-betafrom
SamirFarhat17:export-D98022682-to-v2-beta

Conversation

@SamirFarhat17
Copy link
Copy Markdown

Summary:
Replace the existing cdn_bench run.sh (nginx+wrk) with foss_revproxy
orchestration script.

The script:

  • Starts content_server, proxy_server, and traffic_client on localhost
  • Waits for servers to be listening before starting the client
  • Captures XLOG stderr from each binary and parses metrics
  • Outputs structured key-value format for CDNBenchParser (tag: CDN)
  • Supports configurable duration, RPS, connections, streams, protocol
  • Handles graceful shutdown via trap on EXIT/ERR
  • Does NOT collect system metadata (Benchpress handles this natively)

Default configuration: HTTP/2 cleartext, 60s duration, 1000 RPS,
4 connections, 100 streams per connection.

Differential Revision: D98022682

Summary:
Replace the existing cdn_bench run.sh (nginx+wrk) with foss_revproxy
orchestration script.

The script:
- Starts content_server, proxy_server, and traffic_client on localhost
- Waits for servers to be listening before starting the client
- Captures XLOG stderr from each binary and parses metrics
- Outputs structured key-value format for CDNBenchParser (tag: CDN)
- Supports configurable duration, RPS, connections, streams, protocol
- Handles graceful shutdown via trap on EXIT/ERR
- Does NOT collect system metadata (Benchpress handles this natively)

Default configuration: HTTP/2 cleartext, 60s duration, 1000 RPS,
4 connections, 100 streams per connection.

Differential Revision: D98022682
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 2, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 2, 2026

@SamirFarhat17 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D98022682.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant