Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS operational responders can be pool-allocated as they are fixed in size #16438

Closed
andy31415 opened this issue Mar 18, 2022 · 2 comments
Closed
Labels
stale Stale issue or PR

Comments

@andy31415
Copy link
Contributor

Problem

MinMDNS responders are distinct object types, so generally allocated on the heap.

#16181 adds support to manage active responders but using heap only.

Given that we have fixed responder types (SRV/PTR/AAAA/A/...) we could reserve size for each in separate pools and have a guaranteed 'we have space for them' for devices where this is important. The only remaining somewhat dynamic part is TXT content which we can figure out separately.

Proposed Solution

Add the option for pooling responders and allow a limit and pre-allocation size to be set for them. I imagine something like separate pools of each responder size and have some Alloc(...) method for each when needed.

@stale
Copy link

stale bot commented Sep 15, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Sep 15, 2022
@stale
Copy link

stale bot commented Oct 9, 2022

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or PR
Projects
None yet
Development

No branches or pull requests

1 participant