1m-go-tcp-server is a benchmark collection for studying Go TCP server designs that can support one million connections. It compares different server architectures instead of presenting a single production framework. The repository includes implementations based on goroutines per connection, single epoll, multiple epoll loops, prefork design, worker pools, and Reactor-style event handling. It also includes client implementations and specialized benchmarks for throughput, latency, I/O-bound workloads, and CPU-bound workloads. The project documents Linux tuning values such as file descriptor limits and TCP settings needed for extreme connection counts. It is most useful for engineers studying high-concurrency networking tradeoffs in Go.

Features

  • One-million-connection TCP server benchmarks
  • Goroutine-per-connection implementation
  • Single and multiple epoll implementations
  • Prefork and Reactor-style designs
  • I/O-bound and CPU-bound test variants
  • Linux tuning guidance for high connection counts

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow 1m-go-tcp-server

1m-go-tcp-server Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of 1m-go-tcp-server!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

1 day ago