Skip to content

Conversation

@tegefaulkes
Copy link
Contributor

@tegefaulkes tegefaulkes commented Jan 31, 2024

Description

This PR addresses the excessive memory used by each QUICStream by providing a readableChunkSize config parameter and using that as the size when allocating the Buffer. This is defaulted to 4KB which is much less than the 1MB that was used before.

Issues Fixed

Tasks

  • 1. Add config option for setting the amount of memory used for the readable buffer.
  • 2. reduce the amount reserved memory to the kilobyte range for each QUICStream.

Final checklist

  • Domain specific tests
  • Full tests
  • Updated inline-comment documentation
  • Lint fixed
  • Squash and rebased
  • Sanity check the final build

…readable buffer to 4kb

* Related: #83

[ci skip]
@tegefaulkes tegefaulkes self-assigned this Jan 31, 2024
@ghost
Copy link

ghost commented Jan 31, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@tegefaulkes tegefaulkes merged commit 63e7c41 into staging Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Reduce read buffer size for QUICStream

2 participants