Giter Club home page Giter Club logo

Comments (4)

ChaseRay1989 avatar ChaseRay1989 commented on June 2, 2024

我现在是每个服务都单独部署,例如例子里面的connetor,chat,master,这三个服务都是单独的部署,然后chat和connector是可以动态的扩容伸缩,可以新增实例,也可以回收部分实例,所以会出现与master断开连接的这种操作

from pinus.

whtiehack avatar whtiehack commented on June 2, 2024

[master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005

master 自己连自己? 有这种操作? 这个ip对吗?

from pinus.

ChaseRay1989 avatar ChaseRay1989 commented on June 2, 2024

其实也是可以master连master的,就是部署了两个master,一个做slave,然后主master同步信息给slave,如果主master挂了,slave顶上,其他服务连这个slave

from pinus.

ChaseRay1989 avatar ChaseRay1989 commented on June 2, 2024

但是我看源码,好像如果是某个服务断开了,会触发master不断的重连?不知道有没看错,this.closed这个值好像会一直被改成true

from pinus.

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.