[PR #61] [MERGED] perf(relay): cache resolved UDP destinations with TTL #230

Closed
opened 2026-04-24 17:52:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/gerbil/pull/61
Author: @LaurenceJJones
Created: 3/12/2026
Status: Merged
Merged: 3/18/2026
Merged by: @oschwartz10612

Base: devHead: split/upstream-dev-relay-addr-cache


📝 Commits (1)

  • b118fef perf(relay): cache resolved UDP destinations with TTL

📊 Changes

1 file changed (+44 additions, -4 deletions)

View changed files

📝 relay/relay.go (+44 -4)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Currently untested, basis is to cache UDP addresses instead of constantly calling. We need to take care the default TTL might be fine but testing is needed.

How to test?

WIP


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/gerbil/pull/61 **Author:** [@LaurenceJJones](https://github.com/LaurenceJJones) **Created:** 3/12/2026 **Status:** ✅ Merged **Merged:** 3/18/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `split/upstream-dev-relay-addr-cache` --- ### 📝 Commits (1) - [`b118fef`](https://github.com/fosrl/gerbil/commit/b118fef2654c57be8870d772d629fa85040d720f) perf(relay): cache resolved UDP destinations with TTL ### 📊 Changes **1 file changed** (+44 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `relay/relay.go` (+44 -4) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Currently untested, basis is to cache UDP addresses instead of constantly calling. We need to take care the default TTL might be fine but testing is needed. ## How to test? WIP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 17:52:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gerbil#230