summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2025-12-15 12:14:34 -0800
committerJordan Whited <jwhited0917@gmail.com>2025-12-15 19:52:09 -0800
commita663639bea0252ce0a34b404c72349f7b686d8b1 (patch)
tree6e0be7793333f8f81e03c030339184ddee09f4bb /control/controlhttp/controlhttpserver/controlhttpserver.go
parent951d711054d71406bd360d180b063e89a0e11b89 (diff)
downloadtailscale-a663639bea0252ce0a34b404c72349f7b686d8b1.tar.xz
tailscale-a663639bea0252ce0a34b404c72349f7b686d8b1.zip
net/udprelay: replace map+sync.Mutex with sync.Map for VNI lookup
This commit also introduces a sync.Mutex for guarding mutatable fields on serverEndpoint, now that it is no longer guarded by the sync.Mutex in Server. These changes reduce lock contention and by effect increase aggregate throughput under high flow count load. A benchmark on Linux with AWS c8gn instances showed a ~30% increase in aggregate throughput (37Gb/s vs 28Gb/s) for 12 tailscaled flows. Updates tailscale/corp#35264 Signed-off-by: Jordan Whited <jordan@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions