{"id":15521978,"url":"https://github.com/vietj/http2-test","last_synced_at":"2025-07-13T10:37:12.907Z","repository":{"id":138514309,"uuid":"59573059","full_name":"vietj/http2-test","owner":"vietj","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-09T06:51:07.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T01:50:28.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vietj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T12:54:44.000Z","updated_at":"2016-05-24T12:55:21.000Z","dependencies_parsed_at":"2023-03-16T19:15:28.267Z","dependency_job_id":null,"html_url":"https://github.com/vietj/http2-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietj%2Fhttp2-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietj%2Fhttp2-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietj%2Fhttp2-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietj%2Fhttp2-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietj","download_url":"https://codeload.github.com/vietj/http2-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072132,"owners_count":19743526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:38:53.883Z","updated_at":"2025-02-21T19:13:31.029Z","avatar_url":"https://github.com/vietj.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP/1 versus HTTP/2\n\nThis bench the time to perform a given number of http requests to a server and outline the queing effect\nof HTTP/1 versus the increased concurrency of HTTP/2. It's not a load test.\n\nseveral commands are available:\n\n## Client\n\nAn http client\n\n## Backend server\n\nA backend server\n\n## Frontend server\n\nA front end server (that usually accesses the backend server)\n\n## Examples\n\n### A client accesses the front end with HTTP/1 that access the backend with HTTP/1\n\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-backend --delay 20\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-frontend http://backend:8080\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-client --requests 10000 http://frontend:8080\n\n### A client accesses the front end with HTTP/2 that access the backend with HTTP/1\n\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-backend --delay 20\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-frontend http://backend:8080\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-client --requests 10000 --protocol HTTP_2 http://frontend:8080\n\n### A client accesses the front end with HTTP/2 that access the backend with HTTP/2\n\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-backend --delay 20\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-frontend --protocol HTTP_2 HTTP_2 http://backend:8080\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-client --requests 10000 --protocol HTTP_2 http://frontend:8080\n\n### A client accesses the backend with HTTP/2\n\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-backend --delay 20\n- java -jar target/http2-test-3.3.0-SNAPSHOT.jar http-client --requests 10000 --protocol HTTP_2 http://backend:8080\n\netc...\n\nYou can play with:\n\n- protocols in client and frontend\n- concurrency : the max concurrency in HTTP/2\n- the connection pool size in the front end server\n- number of requests\n- backend think time\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietj%2Fhttp2-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvietj%2Fhttp2-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietj%2Fhttp2-test/lists"}