Skip to content

perf: Memory footprint for inbound requests reduced#3014

Merged
dadrus merged 8 commits intoreleasefrom
perf/request_context
Feb 2, 2026
Merged

perf: Memory footprint for inbound requests reduced#3014
dadrus merged 8 commits intoreleasefrom
perf/request_context

Conversation

@dadrus
Copy link
Copy Markdown
Owner

@dadrus dadrus commented Jan 29, 2026

Related issue(s)

none

Checklist

  • I agree to follow this project's Code of Conduct.
  • I have read, and I am following this repository's Contributing Guidelines.
  • I have read the Security Policy.
  • I have referenced an issue describing the bug/feature request.
  • I have added tests that prove the correctness of my implementation.
  • I have updated the documentation.

Description

This PR implements memory pooling for objects implementing an abstraction layer for incoming HTTP requests. This approach reduces the number of temporary objects, thereby lowering GC load, especially in high-RPS situations.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.33%. Comparing base (852c02c) to head (9c2abd7).
⚠️ Report is 1 commits behind head on release.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           release    #3014      +/-   ##
===========================================
+ Coverage    91.14%   91.33%   +0.19%     
===========================================
  Files          282      281       -1     
  Lines        10734    10795      +61     
===========================================
+ Hits          9783     9860      +77     
+ Misses         690      678      -12     
+ Partials       261      257       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dadrus dadrus merged commit 2cb327b into release Feb 2, 2026
18 checks passed
@dadrus dadrus deleted the perf/request_context branch February 2, 2026 09:34
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.

1 participant