Tagged articles
4 articles
Page 1 of 1
Tech Musings
Tech Musings
Mar 26, 2026 · Backend Development

Why Netpoll Beats Go’s net Library for 60k Connections: A Deep Dive

An extensive benchmark compares Go’s standard net client with the event‑driven cloudwego/netpoll client under 60,000 concurrent connections, revealing how goroutine explosion, memory usage, and scheduler overhead differ, and demonstrates how a single scheduler plus a bounded goroutine pool dramatically reduces resource consumption.

BenchmarkGoGoroutine
0 likes · 17 min read
Why Netpoll Beats Go’s net Library for 60k Connections: A Deep Dive
Tech Musings
Tech Musings
Mar 26, 2026 · Backend Development

Why netpoll Beats Go’s net Library: 99.99% Goroutine Reduction & 40% CPU Savings

A three‑hour benchmark on an 8C‑16G Linux host compares the standard Go net client with the netpoll client under 60,000 concurrent connections, revealing a 27.6% drop in client memory, a 99.99% cut in goroutine count, a 29.5% reduction in host memory, and a 40.7% lower CPU usage while maintaining the same throughput.

BenchmarkGoGoroutine
0 likes · 14 min read
Why netpoll Beats Go’s net Library: 99.99% Goroutine Reduction & 40% CPU Savings
ByteDance SYS Tech
ByteDance SYS Tech
Apr 26, 2024 · Backend Development

How io_uring Integration Boosts Netpoll Throughput and Slashes Latency

This article examines the integration of Linux io_uring into ByteDance's high‑performance Netpoll NIO library, detailing architectural changes, receive/send workflows, benchmarking methodology, and results that show over 10% higher throughput and 20‑40% lower latency while eliminating system calls.

BenchmarkGoHigh‑Performance Networking
0 likes · 18 min read
How io_uring Integration Boosts Netpoll Throughput and Slashes Latency
Tencent Cloud Developer
Tencent Cloud Developer
Mar 22, 2022 · Backend Development

Source Code Analysis of the netpoll Go High‑Performance Network Framework

The article dissects netpoll, a Go‑based high‑performance network framework that uses a Multi‑Reactor model with a main and sub‑reactors, detailing its server EventLoop, poll manager load‑balancing across epoll/kqueue, connection buffering and request handling, and the client’s non‑blocking dialing process.

GoServerclient
0 likes · 40 min read
Source Code Analysis of the netpoll Go High‑Performance Network Framework