melody
nbio
melody | nbio | |
---|---|---|
4 | 10 | |
3,560 | 2,012 | |
- | - | |
6.4 | 9.3 | |
16 days ago | 4 days ago | |
Go | Go | |
BSD 2-clause "Simplified" License | MIT License |
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.
melody
-
Release v1.2.0 · gobwas/ws - WebSocket library for Go.
I just recently started using melody (https://github.com/olahol/melody), which claims to be like gorilla websockets. I found it pretty quick to understand, but I haven't used it for anything that complicated. Has anyone used both melody and gobwas/ws? I'm mostly interested in ergonomics, not performance.
-
websockets
I recommend https://github.com/olahol/melody It is based on gorilla websocket but abstracts the tedious part. I have used it in my distributed chat side project
-
Gorilla/websocket or Melody?
I'm looking to build a game server that uses web sockets to communicate with clients, I've looked into some of the libraries and the main ones seem to be gorilla websockets and melody.
-
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
I like github.com/olahol/melody which is based on gorilla/webscocket very much and use it in some of my projects which do not have too many online connections.
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?
What are some alternatives?
go-socket.io - socket.io library for golang, a realtime application framework.
websocket - Minimal and idiomatic WebSocket library for Go
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
gnet - 🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet 是一个高性能、轻量级、非阻塞的事件驱动 Go 网络框架。
Fiber - ⚡️ Express inspired web framework written in Go
fullproxy - Proxy toolkit including SOCKS5, HTTP, port forward and reverse base proxying
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
httpproxy - HTTP proxy handler and dialer
rye - A tiny http middleware for Golang with added handlers for common needs.
ws - Tiny WebSocket library for Go.
Beego - beego is an open-source, high-performance web framework for the Go programming language.
fasthttp - Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http