프롬프트 도감 › No.1557
HTTP 벤치마크: 서버 속도 재는 도구
HTTP Benchmark Tool
Go 언어로 서버에 요청을 동시에 많이 보내서 응답 시간, 처리량, 오류 비율을 재는 도구를 만들어 달라고 해요. HTTP/2·3과 TLS(보안 연결) 설정, 백분위 보고서도 들어가요.
이럴 때 서버 부하 테스트, Go 언어 공부, API 속도 점검
도구 ChatGPT · Claude · Gemini
프롬프트
Create a high-performance HTTP benchmarking tool in Go. Implement concurrent request generation with configurable thread count. Add detailed statistics including latency, throughput, and error rates. Include support for HTTP/1.1, HTTP/2, and HTTP/3. Implement custom header and cookie management. Add request templating for dynamic content. Include response validation with regex and status code checking. Implement TLS configuration with certificate validation options. Add load profile configuration with ramp-up and steady-state phases. Include detailed reporting with percentiles and histograms. Implement distributed testing mode for high-load scenarios.
팁
- 내 서버에만 쓰고, 남의 사이트에는 쓰지 않기
- HTTP/3와 여러 대로 나눠 돌리는 기능은 나중에 추가하기
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: f.