GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Refactor DnsNameResolver to be able to use different strategies when … by normanmaurer · Pull Request #14382 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Oct 1, 2024

Copy link
Copy Markdown
Member

…… (#14374)

…it comes to creating Channels for queries.

Motivation:

At the moment we reuse the same Channel (and so underyling socket) for all queries. It has show that this can cause problems in some deployments, we should allow to use different strategies.

Modifications:

  • Refactor code to make it possible to use different strategies when it comes to creating / reusing channels for resolve operations

Result:

More flexible configuration and possible fix for
#14364

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@normanmaurer @idelpivnitskiy
Refactor DnsNameResolver to be able to use different strategies when … (
ff3a098
#14374)

…it comes to creating Channels for queries.

Motivation:

At the moment we reuse the same Channel (and so underyling socket) for
all queries. It has show that this can cause problems in some
deployments, we should allow to use different strategies.

Modifications:

- Refactor code to make it possible to use different strategies when it
comes to creating / reusing channels for resolve operations

Result:

More flexible configuration and possible fix for
#14364

---------

Co-authored-by: Idel Pivnitskiy <[email protected]>
@normanmaurer normanmaurer added this to the 4.2.0.Alpha5 milestone Oct 2, 2024
@normanmaurer
normanmaurer merged commit 9ff63a5 into 4.2 Oct 2, 2024
@normanmaurer
normanmaurer deleted the dns_ref_42 branch October 2, 2024 06:29
@jrhee17 jrhee17 mentioned this pull request Feb 25, 2025
Consider exposing DnsNameResolverBuilder or DnsNameResolverBuilder#datagramChannelStrategy line/armeria#6122
Closed
@franz1981 franz1981 mentioned this pull request Sep 16, 2026
Release the DNS response when a query future loses a cancel race #17475
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.0.Alpha5

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.