The directory sends its answers uncompressed #253

Closed
opened 2026-10-16 06:54:30 -07:00 by rays · 1 comment
Owner

ipx's Directory request spends ~134 ms of 159 receiving and parsing the directory's /v1/feeds answer, 603,241 bytes of JSON since Apple's charts came in (#252), sent uncompressed (trace 7e0856adcaab8ea0d95d32d1a16d2c98, 2026-10-16). ipx's client accepts zstd and gzip (#244); the directory should compress, its public pages too.

ipx's Directory request spends ~134 ms of 159 receiving and parsing the directory's /v1/feeds answer, 603,241 bytes of JSON since Apple's charts came in (#252), sent uncompressed (trace 7e0856adcaab8ea0d95d32d1a16d2c98, 2026-10-16). ipx's client accepts zstd and gzip (#244); the directory should compress, its public pages too.
rays added the enhancement label 2026-10-16 06:54:30 -07:00
Author
Owner

Fixed in 1949f3e, deployed (directory, then ipx, then ipx-web). Live: directory /v1/feeds 603,241 B to 157,152 (zstd; br 152,262, gzip 162,079), directory /metrics 869 to 324 B, ipx /metrics 4,704 to 1,424 B (gzip), snapshot uploaded gzipped and accepted (1,471), page app.js 29,926 B and app.css 10,921 B as brotli made at build (37 and 14 KB zstd before), /admin.js.br and /app.js.gz refused 404, traces to Tempo gzipped from all three (OTEL_EXPORTER_OTLP_COMPRESSION=gzip in compose) and arriving. A Directory request barely changed (159 to ~150 ms): the directory answers in 16 ms; the rest is ipx reaching it at https://directory.ipxreader.app, through Cloudflare and the tunnel, 170-340 ms a round trip.

Fixed in 1949f3e, deployed (directory, then ipx, then ipx-web). Live: directory /v1/feeds 603,241 B to 157,152 (zstd; br 152,262, gzip 162,079), directory /metrics 869 to 324 B, ipx /metrics 4,704 to 1,424 B (gzip), snapshot uploaded gzipped and accepted (1,471), page app.js 29,926 B and app.css 10,921 B as brotli made at build (37 and 14 KB zstd before), /admin.js.br and /app.js.gz refused 404, traces to Tempo gzipped from all three (OTEL_EXPORTER_OTLP_COMPRESSION=gzip in compose) and arriving. A Directory request barely changed (159 to ~150 ms): the directory answers in 16 ms; the rest is ipx reaching it at https://directory.ipxreader.app, through Cloudflare and the tunnel, 170-340 ms a round trip.
rays closed this issue 2026-10-16 07:11:06 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#253