{"id":18350311,"url":"https://github.com/ollls/json-template-qh2","last_synced_at":"2025-09-11T02:37:40.874Z","repository":{"id":64995333,"uuid":"580196656","full_name":"ollls/json-template-qh2","owner":"ollls","description":"json http2 with quartz-h2 server","archived":false,"fork":false,"pushed_at":"2025-07-20T20:16:00.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-20T22:11:11.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/ollls.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,"zenodo":null}},"created_at":"2022-12-20T00:29:53.000Z","updated_at":"2025-07-20T20:16:04.000Z","dependencies_parsed_at":"2024-04-16T23:27:30.546Z","dependency_job_id":"63125469-947b-47ed-8d14-6727e8d8502e","html_url":"https://github.com/ollls/json-template-qh2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ollls/json-template-qh2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ollls%2Fjson-template-qh2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ollls%2Fjson-template-qh2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ollls%2Fjson-template-qh2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ollls%2Fjson-template-qh2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ollls","download_url":"https://codeload.github.com/ollls/json-template-qh2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ollls%2Fjson-template-qh2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274568463,"owners_count":25309281,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-05T21:26:03.931Z","updated_at":"2025-09-11T02:37:40.810Z","avatar_url":"https://github.com/ollls.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quartz-h2 JSON https/2 server with jsoniter-scala json codec.\n\nTo run json-template-qh2 in docker use:\n\n```\nsbt assembly\ndocker build -t name:Dockerfile . \ndocker run -p 8443:8443 -t name:Dockerfile\n```\n\nquartz-h2 http2 server.\u003cbr\u003e\nhttps://github.com/ollls/quartz-h2\n\nJSON library.\u003cbr\u003e\nhttps://github.com/plokhotnyuk/jsoniter-scala\n\n## Debug level in logback-test.xml\nFor perf tests put debug level to \"info\", for debuggging use \"debug\" or \"trace\"\n\n## Run application\n\nTo build as standalone jar \n```shell\nsbt assembly\n```\nTo run with sbt\n```shell\nsbt run\n```\n\n## Benchmark ( MacBook 2019 )\n\n```shell\nh2load -D10 -c32 -t2 -m18 https://localhost:8443/json\n\nstarting benchmark...\nspawning thread #0: 16 total client(s). Timing-based test with 0s of warm-up time and 10s of main duration for measurements.\nspawning thread #1: 16 total client(s). Timing-based test with 0s of warm-up time and 10s of main duration for measurements.\nWarm-up started for thread #1.\nWarm-up started for thread #0.\nprogress: 6% of clients started\n...\nprogress: 87% of clients started\nWarm-up phase is over for thread #1.\nMain benchmark duration is started for thread #1.\nprogress: 93% of clients started\nprogress: 100% of clients started\nWarm-up phase is over for thread #0.\nMain benchmark duration is started for thread #0.\nTLS Protocol: TLSv1.3\nCipher: TLS_AES_256_GCM_SHA384\nServer Temp Key: X25519 253 bits\nApplication protocol: h2\nMain benchmark duration is over for thread #1. Stopping all clients.\nStopped all clients for thread #1\nMain benchmark duration is over for thread #0. Stopping all clients.\nStopped all clients for thread #0\n\nfinished in 10.01s, 64064.00 req/s, 4.58MB/s\nrequests: 640640 total, 641216 started, 640640 done, 640640 succeeded, 0 failed, 0 errored, 0 timeout\nstatus codes: 640644 2xx, 0 3xx, 0 4xx, 0 5xx\ntraffic: 45.82MB (48050156) total, 1.22MB (1281672) headers (space savings 94.74%), 33.60MB (35235200) data\n                     min         max         mean         sd        +/- sd\ntime for request:      226us     47.59ms      7.74ms      4.07ms    71.00%\ntime for connect:    11.42ms     70.69ms     22.77ms     14.83ms    84.38%\ntime to 1st byte:    13.74ms    109.86ms     30.96ms     20.35ms    87.50%\nreq/s           :    1958.99     2041.25     2000.73       22.05    65.63%\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Follls%2Fjson-template-qh2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Follls%2Fjson-template-qh2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Follls%2Fjson-template-qh2/lists"}