Code Monkey home page Code Monkey logo

Comments (4)

yjqiang avatar yjqiang commented on June 25, 2024

START = 0
END = 4000
START = 4000
END = 8000
范围是左闭右开区间
2. 分布式比较繁琐,server要运行,client也需要
3. 暴力轮询正常,不是每次都有结果的
4. 这个是去重的一部分,用在暴力轮询这里,就是你自己监控服务器的地址。其他子监控的结果反馈到了暴力轮询,这样就不再重复推送了。

from yjmonitor.

shoucandanghehe avatar shoucandanghehe commented on June 25, 2024

4.也就是在一台机子上跑填tcp://127.0.0.1:8001就行是吗
2.分布式配置的具体步骤能麻烦说一下吗,实在是搞不太懂,以及使用的端口自定义都要修改那些地方?

from yjmonitor.

yjqiang avatar yjqiang commented on June 25, 2024

4.对
2.不要尝试分布式了,我都是每次看代码给说明的。现在没时间仔细看了,挺复杂的一套东西。只能说分布式机制是server负责获取房间,然后根据server的配置文件向各个client推送这些房间。具体你得自己摸索

from yjmonitor.

shoucandanghehe avatar shoucandanghehe commented on June 25, 2024

好的,谢谢大佬解答,我自己摸索下,不行就不用分布了

from yjmonitor.

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.