Measure runtime compression at the actual response boundary #109

Open
opened 2026-12-02 13:21:43 +01:00 by cesnimda · 0 comments
Owner

Summary

Measure runtime compression at the actual response boundary.

Background and evidence

Frozen eb253877 encoding inventory published4eb8a293:67 text assets/402 roundtrips, gzip6/Brotli5 bytes and local CPU; runtime/compression topology/field savings unqualified. No compression middleware/directive found in inspected app/NGINX source. External ingress unknown. Compare payloads raw/gzip/Brotli and CPU on isolated responses. Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries.

Scope and expected outcome

Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries.

Acceptance criteria

  • Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries.
  • Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised.

Testing requirements

Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload.

Dependencies and compatibility

Initial disposition: Ready. Production changes require separate release approval.

Definition of done

Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing.

References

Related work

Parent epic: #36

### Summary Measure runtime compression at the actual response boundary. ### Background and evidence Frozen eb253877 encoding inventory published4eb8a293:67 text assets/402 roundtrips, gzip6/Brotli5 bytes and local CPU; runtime/compression topology/field savings unqualified. No compression middleware/directive found in inspected app/NGINX source. External ingress unknown. Compare payloads raw/gzip/Brotli and CPU on isolated responses. Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries. ### Scope and expected outcome Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries. ### Acceptance criteria - [ ] Prefer projection and paging. Verify one encoding layer, Vary and side-channel boundaries. - [ ] Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised. ### Testing requirements Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload. ### Dependencies and compatibility Initial disposition: Ready. Production changes require separate release approval. ### Definition of done Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing. ### References - [Evidence 1](https://git.cesnimda.uk/cesnimda/jobtrackingapp/src/commit/b8d26aab2b52750cffa8de00578b982899942892/docs/direct-roadmap/ROADMAP_TODO.md#L275) <!-- jobbjakt:F-PERF-12 --> ### Related work Parent epic: #36 <!-- jobbjakt-links -->
cesnimda added the Status/Ready label 2026-12-02 13:30:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#109