Giter Site home page Giter Site logo

更多协议的支持如KCP和QUIC about hprose HOT 3 OPEN

hprose avatar hprose commented on May 13, 2024
更多协议的支持如KCP和QUIC

from hprose.

Comments (3)

andot avatar andot commented on May 13, 2024

在通讯上采用跟 TCP 全双工一样的方式吗?

from hprose.

andot avatar andot commented on May 13, 2024

kcp 协议了解了一下,说目前国内网络对该协议封锁的比较严重,实际效果在网络环境不好时并不比 TCP 更好。所以目前暂不考虑提供内置实现,但是 Hprose 3.0 在设计上,具体的传输层跟 RPC 是分离的,传输层是以插件方式实现的,因此用户如果需要,可以通过插件方式单独添加。

Hprose 3.0 增加了 UDP 支持的内置实现(实现方式也是插件方式,只不过内置了)。在请求和响应内容都比较小时(不超过65499个字节),可以考虑使用 UDP 来代替 TCP。

from hprose.

MiyamuraMiyako avatar MiyamuraMiyako commented on May 13, 2024

这么做也可以,插件形式方便扩展。
似乎这个issue可以关闭了,不过多个语言实现相同功能的插件也要耗费不少时间精力。

from hprose.

Related Issues (14)

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.