yutiansut / QATrader

QATRADER
MIT License
28 stars 54 forks source link

推荐使用nats.io,而不是RabbitMQ #3

Open zfsamzfsam opened 5 years ago

zfsamzfsam commented 5 years ago

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/

    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
yutiansut commented 5 years ago

哇 好久没注意 我才看到你的issue 我研究一下 @zfsamzfsam 谢谢~

zfsamzfsam commented 5 years ago

美股券商alpaca的行情好像从nats.io转到websocket去了