Giter Club home page Giter Club logo

Comments (4)

linux-china avatar linux-china commented on May 6, 2024

目前的方案是健康度检查 和 实时调用时的connection检查,结构已经进行了调整。

from alibaba-rsocket-broker.

cangxingzhe avatar cangxingzhe commented on May 6, 2024

是客户端SDK进行负载,broker做注册中心的意思吗

from alibaba-rsocket-broker.

linux-china avatar linux-china commented on May 6, 2024

客户端已经和broker建立连接啦,这个连接同时就是服务注册。 RSocket是基于一个长连接进行异步消息通讯的,没有http那种连接池的概念,所以客户端的SDK的负载均衡就是和多个broker建立连接,然后调用随机发送给某一broker,防止一个broker接收的消息太多,影响系统的性能。 @cangxingzhe

from alibaba-rsocket-broker.

cangxingzhe avatar cangxingzhe commented on May 6, 2024

好的,谢谢你的回复。我描述有些粗糙,看了spring cloud rsocket,他的客户端只能和broker建立一个长连接,因为它还在孵化中,所以对应它的设计思路,有两种才行
1.它的客户端会支持负载均衡
2.每一个客户端有一个唯一的broker,然后这个broker再和broker集群建立连接
这些是我猜想哈,我这几天在研究Alibaba,到时再请求大佬

from alibaba-rsocket-broker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.