Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frameworks/zix-grpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG RETRY=6
ARG TARGETARCH
ARG RETRY_DELAY=3
ARG ZIG_VERSION=0.16.0
ARG ZIX_VERSION=0.4.x
ARG ZIX_VERSION=0.4.x-rc3
RUN apk add --no-cache ca-certificates curl git tar xz

RUN set -eu; \
Expand All @@ -19,9 +19,9 @@ RUN set -eu; \
mv "/opt/zig-${ZIG_ARCH}-linux-${ZIG_VERSION}" /opt/zig
ENV PATH="/opt/zig:${PATH}"

# Vendor zix 0.4.x, separate layer so source-only rebuilds skip the fetch.
# Vendor zix X.Y.Z, separate layer so source-only rebuilds skip the fetch.
# The Http1 raw engine work this image needs (large-body drain plus the per-worker
# response cache used by the /json endpoint) must be present on the 0.4.x branch.
# response cache used by the /json endpoint) must be present on the X.Y.Z branch.
# Four ordered attempts before giving up: curl the archive tarball from github then
# codeberg, then a shallow git clone from github then codeberg. The github archive
# redirects to codeload.github.com (which the benchmark runner may not resolve), so
Expand Down
2 changes: 1 addition & 1 deletion frameworks/zix-grpc/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"language": "Zig",
"type": "engine",
"engine": "zix",
"description": "Zig gRPC h2c server using the zix network backend library. Shared-nothing io_uring: each worker owns its own ring and listener, multiplexing streams per connection. Implements GetSum (unary) and StreamSum (server-streaming).",
"description": "Zig gRPC server (h2c) on the zix.Grpc engine built on zix.Http2 (no std.http). Shared-nothing by design: each worker owns its own SO_REUSEPORT listener, io_uring completion ring, and connections, with no shared state or locking across cores, multiplexing HTTP/2 streams per connection. Replies use comptime-cached HPACK blocks. Implements GetSum (unary) and StreamSum (server-streaming).",
"repo": "https://codeberg.org/prothegee/zix",
"enabled": true,
"tests": [
Expand Down
1 change: 0 additions & 1 deletion frameworks/zix-grpc/src/main.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! HttpArena: zix-grpc
//! zix version: 0.4.x
//!
//! zix HttpArena gRPC (h2c) entry point.
//!
Expand Down
2 changes: 1 addition & 1 deletion site/data/frameworks.json
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@
},
"zix-grpc": {
"dir": "zix-grpc",
"description": "Zig gRPC h2c server using the zix network backend library. Shared-nothing io_uring: each worker owns its own ring and listener, multiplexing streams per connection. Implements GetSum (unary) and StreamSum (server-streaming).",
"description": "Zig gRPC server (h2c) on the zix.Grpc engine built on zix.Http2 (no std.http). Shared-nothing by design: each worker owns its own SO_REUSEPORT listener, io_uring completion ring, and connections, with no shared state or locking across cores, multiplexing HTTP/2 streams per connection. Replies use comptime-cached HPACK blocks. Implements GetSum (unary) and StreamSum (server-streaming).",
"repo": "https://codeberg.org/prothegee/zix",
"type": "engine",
"engine": "zix"
Expand Down
12 changes: 6 additions & 6 deletions site/data/stream-grpc-64.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@
{
"framework": "zix-grpc",
"language": "Zig",
"rps": 8468000,
"avg_latency": "146.13ms",
"p99_latency": "385.19ms",
"cpu": "37.9%",
"memory": "141MiB",
"rps": 8504000,
"avg_latency": "146.01ms",
"p99_latency": "441.82ms",
"cpu": "35.6%",
"memory": "139MiB",
"connections": 64,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "0",
"reconnects": 0,
"status_2xx": 8468,
"status_2xx": 8504,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
12 changes: 6 additions & 6 deletions site/data/unary-grpc-1024.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,18 @@
{
"framework": "zix-grpc",
"language": "Zig",
"rps": 7122075,
"avg_latency": "7.63ms",
"p99_latency": "84.09ms",
"cpu": "3008.6%",
"rps": 6938181,
"avg_latency": "8.26ms",
"p99_latency": "103.84ms",
"cpu": "4092.8%",
"memory": "1.2GiB",
"connections": 1024,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "453.67MB/s",
"bandwidth": "441.96MB/s",
"reconnects": 0,
"status_2xx": 36037700,
"status_2xx": 35107200,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
14 changes: 7 additions & 7 deletions site/data/unary-grpc-256.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,18 @@
{
"framework": "zix-grpc",
"language": "Zig",
"rps": 7239103,
"avg_latency": "2.22ms",
"p99_latency": "45.43ms",
"cpu": "2927.0%",
"memory": "394MiB",
"rps": 7039761,
"avg_latency": "2.43ms",
"p99_latency": "25.63ms",
"cpu": "3956.5%",
"memory": "393MiB",
"connections": 256,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "457.47MB/s",
"bandwidth": "445.76MB/s",
"reconnects": 0,
"status_2xx": 36340300,
"status_2xx": 35410000,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down