Giter Site home page Giter Site logo

Comments (2)

edwingeng avatar edwingeng commented on May 28, 2024

分析得对。doublejump 实际是面向长连接服务器写的,客户端通过长连接连到网关上,doublejump 负责分发长连接的请求。在这样的使用场景下,网关之间的 doublejump 状态是否一致并不重要,只要在网关内部、对一个特定的连接能做到稳定分发就可以了。因为不能保证服务器之间状态一致,所以目前的实现不能用于短连接网关。

from doublejump.

left2right avatar left2right commented on May 28, 2024

分析得对。doublejump 实际是面向长连接服务器写的,客户端通过长连接连到网关上,doublejump 负责分发长连接的请求。在这样的使用场景下,网关之间的 doublejump 状态是否一致并不重要,只要在网关内部、对一个特定的连接能做到稳定分发就可以了。因为不能保证服务器之间状态一致,所以目前的实现不能用于短连接网关。

了解,不太适合对各服务节点状态一致要求高的场景,不过这个实现很赞

from doublejump.

Related Issues (2)

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.