Comments (5)
RTT是从发出一个包到接收到这个包的ACK的时间
from kcp.
IMO,调整的是 packet 发送的 pacing,让 packet 尽快对链路的当前状况进行响应,是一个高层级的概念,而不是「传播延时」。
from kcp.
我也觉得有歧义,看到延时,第一反应就是链路延时,而实际上对于网络延时,如果链路不丢包,kcp只会增加链路延时
from kcp.
如果链路不丢包,你也不需要tcp协议了,对吧?
再,如果链路不丢包 kcp 并不会引入啥新的额外延迟。
from kcp.
这就要看如何实现任务调度器了,比如kcp-go实现的任务调度器每隔10ms刷新一次任务,就会导致链路延时增加0~10ms
from kcp.
Related Issues (20)
- TCP的SACK HOT 2
- TCP丢包时会全部重传从丢的那个包开始以后的数据吗? HOT 3
- Bug HOT 1
- ikcp_recv 一直返回 -2,一段时间后返回-3 HOT 1
- 为什么不能将input和recv绑定,这样既可以节约cpu,还能跟着底层的udp的轮询周期
- Bug:ikcp_send 发送大于发送窗口的数据包时,会return -2,但是部分数据已经被拼接进segment,最终被发送出去。 HOT 9
- 两端正常通信一段时间后,其中一端断开在 重新连接的情况,对端无法读取数据。 HOT 4
- 请问ikcp_setoutput回调问题 HOT 7
- 服务器一次性发送10-20个包(小包),客户端接受出现严重延迟(1-2秒) HOT 7
- 客户端重连问题 HOT 1
- 一次性发送1000个1K的包,需要8-10秒左右
- 关于 ikcp_update HOT 1
- Kcp 相比于 srt 或者 quic 的优势是什么,弱网下回有更好的表现吗 HOT 2
- 请问主动丢包有解决方案了么? HOT 4
- > 没看懂,你要主动丢包么?
- 请问大神,之前在下面这个issue里讨论的丢包问题,什么时候能支持一下呢? HOT 4
- 纯 python 版本实现,申请加入开源案例 HOT 2
- 包模式下如果rcvWnd<255 并且分包数量>=rcvWnd,接受端因为接受不到足够的数量组装完整包而卡住.
- 请教一个关于停止ikcp_update的方法
- 这里检测使用的buffer超过mtu就output一次是不是会导致seg分成两段 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcp.