-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 4End to End Networking behind Consumer NAT DevicesEnd to End Networking behind Consumer NAT Devices
Description
Specification
Right now each QUICStream has a single buffer used to read data out of quiche. The size of this is set using a constant value from quiche of about 1mb. As a result each QUICStream reserves 1MB of memory for it's lifespan. That is far too much memory to be used especially when we have multiple active connections going on.
The solution is to reduce this to a few KB at most. If it's not already it should be a configured value as well when creating a client or server.
Additional context
Related: #65 - Original approach to solving the problem but it was not appropriate.
Tasks
- Reduce the buffer used by each
QUICStreamfor reading data out of quiche - If it still needs to be done, this value needs to be set on construction of the
QUICStreamand by extension anything that creates aQUICStream.
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard developmentr&d:polykey:core activity 4End to End Networking behind Consumer NAT DevicesEnd to End Networking behind Consumer NAT Devices