Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

refactor: better state handling #9

Merged
merged 2 commits into from
Apr 10, 2024
Merged

refactor: better state handling #9

merged 2 commits into from
Apr 10, 2024

Conversation

Frando
Copy link
Member

@Frando Frando commented Apr 10, 2024

This refactors the packet store and DNS resolver design

  • Move the actual store out of the DNS authority
  • Load packets from the redb store on-demand, with an in-memory LRU cache
  • Better separate pkarr and static resolving (the latter is only for NS and SOA entries)
  • Make store interface resolving and storing packet async, to prepare for mainline integration

@Frando Frando merged commit dbefd19 into main Apr 10, 2024
6 of 9 checks passed
@Frando Frando mentioned this pull request Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant