Skip to content

Conversation

@mark200
Copy link
Contributor

@mark200 mark200 commented Aug 18, 2025

Yab now supports HTTP/2 for HTTP transport benchmarking, providing improved performance through:

  • Multiplexing multiple requests over a single connection
  • Header compression
  • Server push capabilities
  • Better flow control

The following command-line options are available for HTTP/2 configuration:

--http2

  • Type: Boolean
  • Default: true
  • Description: Enable HTTP/2 for HTTP transport (default is HTTP/1.1)

Basic HTTP/2 Benchmarking

yab -s my-service -p localhost:8080 -m MyMethod -r '{"key": "value"}' --http2

@mark200 mark200 changed the title Add http 2 support to yab Add http2 support to yab Aug 19, 2025
@mark200 mark200 force-pushed the add-http-2-support-to-yab branch from ab71cac to 249d08d Compare August 20, 2025 12:06
@mark200 mark200 force-pushed the add-http-2-support-to-yab branch from ba4e348 to c66575c Compare August 28, 2025 14:46
@mark200 mark200 force-pushed the add-http-2-support-to-yab branch from c66575c to a81e03a Compare August 29, 2025 17:28
Remove old comments

Fix comment stating default http2 behavior in options

Fixed test TimedOutUsingHTTP2Transport

Fix comments

Check if http2 flag is enabled when sending Thrift encoding

Fix cli http2 option comment; Move test cases for http1/2 to method

Reverted check for http2 flag in cli; Fix creation of http1 server
@mark200 mark200 force-pushed the add-http-2-support-to-yab branch from a81e03a to 8cf0cbf Compare September 1, 2025 11:08
@mark200 mark200 merged commit 1f10eb9 into yarpc:dev Sep 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants