go-socket.io
redis-socket-blog
go-socket.io | redis-socket-blog | |
---|---|---|
3 | 1 | |
5,570 | 1 | |
- | - | |
4.5 | 10.0 | |
about 2 months ago | over 1 year ago | |
Go | Go | |
GNU General Public License v3.0 or later | - |
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.
go-socket.io
-
Want to Know https://github.com/googollee/go-socket.io socket server version
I want to connect go socket server with flutter.I want to know which flutter client socket version https://github.com/googollee/go-socket.io support and socket server version.
-
How to use Redis pub/sub to handle socket.io sessions across multiple instances ?
Socket.io helps in delivering messages to client in real time. Behind the scene socket.io creates a bi-directional channel between server and client therefore enabling bidirectional communication between web client and server. For demo code I have used a golang server therefor i have used a golang library called go-socket.io . Some advance socket.io concepts which you should be aware are channel, event, namespace and rooms.
-
Go with socket.io
Have you tried this - https://github.com/googollee/go-socket.io
redis-socket-blog
-
How to use Redis pub/sub to handle socket.io sessions across multiple instances ?
Before going into the solution of the problem, let’s understand the technologies i have used along with some snippet of the actual code. I have written the server code in golang and i am using Postman as client. The two technologies i would like to brief you all are socket.io and Redis pub/sub. If you are already familiar with the concepts just glance through my description to better understand the blog and solution provided by it.
What are some alternatives?
websocket - A fast, well-tested and widely used WebSocket implementation for Go.
Newman - Newman is a command-line collection runner for Postman
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.
Fiber - ⚡️ Express inspired web framework written in Go
melody - :notes: Minimalist websocket framework for Go
Beego - beego is an open-source, high-performance web framework for the Go programming language.
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:
Echo - High performance, minimalist Go web framework
GoSwagger - Swagger 2.0 implementation for go
Buffalo - Rapid Web Development w/ Go
go-kit - A standard library for microservices.
Glue - Glue - Robust Go and Javascript Socket Library (Alternative to Socket.io)