Messaging Patterns:
https://medium.com/@shijuvar/introducing-nats-to-go-developers-3cfcb98c21d0
Publish-Subscribe
Queueing
Although queue groups have multiple subscribers, each message is only consumed by only one.
Request-Reply
nats.io的跨语言特性强(Go/Python/JS/Java)
https://github.com/nats-io/nats.py
https://github.com/nats-io/nats.go
https://github.com/nats-io/nats.java
https://github.com/nats-io/nats.js
centrifugo——另一个推荐https://github.com/centrifugal/centrifuge
Centrifuge library is a real-time core of Centrifugo server. It's also supposed to be a general purpose real-time messaging library for Go programming language.
Client libraries(跨语言特性强):
centrifuge-js – for browser, NodeJS and React Native
centrifuge-go - for Go language
centrifuge-mobile - for iOS and Android using centrifuge-go as basis and gomobile project to create bindings
centrifuge-dart - for Dart and Flutter
centrifuge-swift – for native iOS development
centrifuge-java – for native Android development and general Java
nats.io vs RabbitMQ https://blog.csdn.net/qq_35063002/article/details/89446761 nats.io是有代理的MessageQueue中最快的. 美股券商alpaca的行情就是使用nats.io https://github.com/alpacahq/alpaca-trade-api-python https://polygon.io/docs/
centrifugo——另一个推荐 https://github.com/centrifugal/centrifuge Centrifuge library is a real-time core of Centrifugo server. It's also supposed to be a general purpose real-time messaging library for Go programming language.