Skip to content

Add health checks and fix IPv6 parsing in cdn_bench#575

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

Add health checks and fix IPv6 parsing in cdn_bench#575
SamirFarhat17 wants to merge 1 commit intofacebookresearch:v2-betafrom
SamirFarhat17:export-D100220256-to-v2-beta

Conversation

@SamirFarhat17
Copy link
Copy Markdown

Summary:
Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

  • verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
  • Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
  • Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Differential Revision: D100220256

Summary:
Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Differential Revision: D100220256
@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 10, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 10, 2026

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

SamirFarhat17 added a commit to SamirFarhat17/DCPerf that referenced this pull request Apr 13, 2026
…#575)

Summary:

Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Differential Revision: D100220256
SamirFarhat17 added a commit to SamirFarhat17/DCPerf that referenced this pull request Apr 13, 2026
…#575)

Summary:

Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Reviewed By: YifanYuan3

Differential Revision: D100220256
SamirFarhat17 pushed a commit to SamirFarhat17/DCPerf that referenced this pull request Apr 13, 2026
…#575)

Summary:
Pull Request resolved: facebookresearch#575

Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Differential Revision: D100220256
SamirFarhat17 added a commit to SamirFarhat17/DCPerf that referenced this pull request Apr 13, 2026
…#575)

Summary:

Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Reviewed By: YifanYuan3

Differential Revision: D100220256
meta-codesync bot pushed a commit that referenced this pull request Apr 13, 2026
Summary:
Pull Request resolved: #575

Added health checks to cdn_bench/run.sh so it fails fast with a clear message instead of silently misbehaving:

- verify_content_server() probes each content_server with curl after startup to confirm it's actually serving, not just listening
- Backend Reachability Check runs before starting proxies — if any backend is unreachable it prints the exact curl command to debug and aborts
- Fixed IPv6 host:port parsing (was using ${entry%:*} which strips everything after the first colon, now extracts port first then strips it)

Reviewed By: YifanYuan3

Differential Revision: D100220256

fbshipit-source-id: 4a9cd6c1c8b7d536390b7c930110109461b53b1b
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