nbio
kcp-go
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nbio
-
Websocket memory usage
There is also https://github.com/lesismal/nbio library
- Is there an alternative to gorilla websocket?
- Gorilla/websocket or Melody?
- nbio's new features to keep balance between performance and
-
Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use
There were already some other poller frameworks before nbio, such as evio, easygo, gev, gnet.
- Websocket server design
-
Lightweight Websocket library a simple game server?
I was using gobwas and then switched to https://github.com/lesismal/nbio.
-
A netpoll alternative that works on Windows?
Since you seem to know the space, may I ask you what your opinion on https://github.com/lesismal/nbio is and if you think that is also a good option for websocket usage?
kcp-go
-
Do you use TCP and UDP together in your multiplayer games?
I guess I should look into something like this before I get much further. It sounds exactly like what you were recommending. I do enjoy reinventing the wheel sometimes, but it is usually not successful lol.
-
Open-source game server for fast-paced games
I used kcp-go. The server includes two parts, Mothership and child server. After the mothership server matchmaking system finds a game it will pass those users to the child server.
What are some alternatives?
websocket - Minimal and idiomatic WebSocket library for Go
quic-go - A QUIC implementation in pure Go
gnet - 🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet 是一个高性能、轻量级、非阻塞的事件驱动 Go 网络框架。
utp - Use anacrolix/go-libutp instead
fullproxy - Proxy toolkit including SOCKS5, HTTP, port forward and reverse base proxying
tcp_server - golang tcp server
httpproxy - HTTP proxy handler and dialer
mqttPaho
ws - Tiny WebSocket library for Go.
kcptun - A Stable & Secure Tunnel based on KCP with N:M multiplexing and FEC. Available for ARM, MIPS, 386 and AMD64。N:M 多重化と FEC を備えた KCP に基づく安定した安全なトンネル。 N:M 다중화 및 FEC를 사용하는 KCP 기반의 안정적이고 안전한 터널입니다. Un tunnel stable et sécurisé basé sur KCP avec multiplexage N:M et FEC.
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
ssh - Easy SSH servers in Golang