Supported Protocols and Features
devSupported Transport Protocols
TCPUDPUnix Domain Socket
Core Features
- High-performance event-driven looping: Based on a multi-threaded/goroutine networking model.
- Built-in goroutine pool: Powered by the
antslibrary. - Lock-free runtime: Designed for high concurrency without lock contention.
- Memory Management: Uses efficient, reusable, and elastic buffers (Elastic-Ring-Buffer, Linked-List-Buffer, and Elastic-Mixed-Buffer).
- Load Balancing: Supports
Round-Robin,Source-Addr-Hash, andLeast-Connectionsalgorithms. - I/O Support: Supports Edge-triggered I/O.
- Client Support: Includes a built-in
gnetclient. - Platform Support: Runs on
Linux,macOS,Windows, and*BSD(Darwin,DragonFlyBSD,FreeBSD,NetBSD,OpenBSD).