NATS
websocket
Our great sponsors
NATS | websocket | |
---|---|---|
11 | 15 | |
5,136 | 3,437 | |
1.7% | - | |
9.1 | 8.2 | |
about 9 hours ago | 14 days ago | |
Go | Go | |
Apache License 2.0 | ISC 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.
NATS
- High-Performance server for NATS.io, the cloud and edge native messaging system
- Asyncapi with Go
-
What is the coolest Go open source projects you have seen?
nats: Golang client for NATS, the cloud native messaging system
-
Distributed communication patterns with NATS
Install the nats.go package
- Redis vs. Kafka vs. RabbitMQ
-
Distributed messaging with NATS
Now that our NATS server is running, we'll be using Go and Node.js clients to connect to it for simple demonstration. Not familiar with Go or Node? Don't worry NATS has clients available in over 40 languages!
- How do I build a text editor like notepad using wails
-
Plugins vs Microservices
You can build monolith applications and if they need cross communication, rely on something like Nats: https://github.com/nats-io/nats.go
- Modern Communication: Sockets
-
Subscription management in pub/sub system
You could start by looking/reading how it is implemented in production ala https://github.com/nats-io/nats.go
websocket
-
Possible frameworks/languages for a web/mobile application
In my experience Go has been relatively approachable for people that are good at PHP. It has a great standard library and a pretty solid ecosystem, though frameworks aren’t as popular in Go. There are some well regarded libraries for things like WebRTC via https://github.com/pion/webrtc WebSicket via https://github.com/nhooyr/websocket
-
Websocket memory usage
Also take a look at https://github.com/nhooyr/websocket - which is a good ws library, but I don't have anything specific about its memory usage per connection. But from what I see it will be somewhat similar to x/net/websocket.
- I don't understand these lines of code in Gorilla websocket example
- Websockets with golang
-
Portal - a modern file transfer utility 🌌✨
nhooyr/websocket, shollz/pake, charmbracelet/bubbles, charmbracelet/bubbletea, charmbracelet/lipgloss, muesli/reflow, klauspost/pgzip and many, many more.
- Is there an alternative to gorilla websocket?
-
Gorilla/websocket or Melody?
link: https://github.com/nhooyr/websocket
- Gorilla Web Toolkit is now in archive only mode
-
Gorilla toolkit maintainers are stepping down and have been looking for new maintainers. The project could otherwise be archived.
There's https://github.com/gobwas/ws and https://github.com/nhooyr/websocket but neither have seen a commit in over a year
-
Goomerang 🪃 A protocol buffers over websockets communications library
The last time I was using websockets, I found https://github.com/gobwas/ws to be a huge improvement over Gorilla, but I haven't been looking recently, and perhaps Gorilla was able to shed some of its bloat and improve API and performance since then.
What are some alternatives?
nsq - A realtime distributed messaging platform
nbio - 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.
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
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.
EventBus - [Go] Lightweight eventbus with async compatibility for Go
ws - Tiny WebSocket library for Go.
go-nsq - The official Go package for NSQ
Ebiten - Ebitengine - A dead simple 2D game engine for Go
dbus - Native Go bindings for D-Bus
go-quilljs-delta
emitter - Emits events in Go way, with wildcard, predicates, cancellation possibilities and many other good wins
gio-example - Mirror of the Gio examples repository (https://git.sr.ht/~eliasnaur/gio-example)