Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: speed up GetTailnetTunnelPeerBindings query#19444

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedAug 20, 2025
edited
Loading

relates to:coder/internal#718

Optimizes the GetTailnetTunnelPeerBindings query to reduce its execution time.

Before:https://explain.dalibo.com/plan/c2fd53f913aah21c

After:https://explain.dalibo.com/plan/6bc67d323g7afh61

At a high level, we first assemble the total list of peer IDs needed by the query, and only then go into thetailnet_peers table to extract their info. This saves us some time instead of hashing the entiretailnet_peers table.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@spikecurtisspikecurtis marked this pull request as ready for reviewAugust 20, 2025 11:30
Copy link
Member

@EmyrkEmyrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍 LG

@spikecurtisspikecurtis merged commit229d051 intomainAug 21, 2025
33 checks passed
@spikecurtisspikecurtis deleted the spike/internal-718-get-tailnet-tunnel-peer-bindings branchAugust 21, 2025 05:53
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp