Skip to content

Conversation

@enisdenjo
Copy link
Member

@enisdenjo enisdenjo commented Oct 26, 2025

Related graphql-hive/gateway#1629

Distributed as a npm package on @graphql-hive/router using NAPI-RS.

Manually released under @graphql-hive/router on npm.

TODO

  • Test node-addon
  • Build node-addon for all platforms Hive Router supports
  • Release node-addon on npm in CI

@github-actions
Copy link

github-actions bot commented Oct 26, 2025

k6-benchmark results

     ✓ response code was 200
     ✓ no graphql errors
     ✓ valid response structure

     █ setup

     checks.........................: 100.00% ✓ 210906      ✗ 0    
     data_received..................: 6.2 GB  205 MB/s
     data_sent......................: 83 MB   2.7 MB/s
     http_req_blocked...............: avg=3.82µs   min=642ns   med=1.71µs  max=4.73ms   p(90)=2.43µs  p(95)=2.79µs  
     http_req_connecting............: avg=1.1µs    min=0s      med=0s      max=3.38ms   p(90)=0s      p(95)=0s      
     http_req_duration..............: avg=20.85ms  min=2.12ms  med=19.88ms max=84.57ms  p(90)=28.62ms p(95)=31.77ms 
       { expected_response:true }...: avg=20.85ms  min=2.12ms  med=19.88ms max=84.57ms  p(90)=28.62ms p(95)=31.77ms 
     http_req_failed................: 0.00%   ✓ 0           ✗ 70322
     http_req_receiving.............: avg=129.81µs min=24.98µs med=40.02µs max=35.13ms  p(90)=85.35µs p(95)=386.15µs
     http_req_sending...............: avg=24.94µs  min=5.63µs  med=10.82µs max=20.71ms  p(90)=16.28µs p(95)=29µs    
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s      
     http_req_waiting...............: avg=20.69ms  min=2.07ms  med=19.75ms max=72.57ms  p(90)=28.37ms p(95)=31.48ms 
     http_reqs......................: 70322   2338.048994/s
     iteration_duration.............: avg=21.33ms  min=6.25ms  med=20.23ms max=216.05ms p(90)=29.08ms p(95)=32.26ms 
     iterations.....................: 70302   2337.384039/s
     vus............................: 50      min=50        max=50 
     vus_max........................: 50      min=50        max=50 

@github-actions
Copy link

🐋 This PR was built and pushed to the following Docker images:

Image Names: ghcr.io/graphql-hive/router

Platforms: linux/amd64,linux/arm64

Image Tags: ghcr.io/graphql-hive/router:pr-527 ghcr.io/graphql-hive/router:sha-eb47e55

Docker metadata
{
"buildx.build.ref": "builder-a3beb108-e445-4cc5-a20f-f8d3d8706115/builder-a3beb108-e445-4cc5-a20f-f8d3d87061150/5po8t4dzjz718dtby73lfc641",
"containerimage.descriptor": {
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "digest": "sha256:7132049d8cc18badc51f2e4e76eb8ee72096a5a7fb3bbd965ef53d9608936e09",
  "size": 1609
},
"containerimage.digest": "sha256:7132049d8cc18badc51f2e4e76eb8ee72096a5a7fb3bbd965ef53d9608936e09",
"image.name": "ghcr.io/graphql-hive/router:pr-527,ghcr.io/graphql-hive/router:sha-eb47e55"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants