mirror of
https://github.com/skywind3000/kcp.git
synced 2025-03-23 16:00:08 +08:00
Updated EN_KCP Best Practice (markdown)
parent
e5b7ed044a
commit
acc7822226
@ -24,7 +24,7 @@ P3 = (3, 2, 1)
|
||||
|
||||
The recever can recover previous two packet from one packet. User should reduce the duplicated packets then feed to KCP.
|
||||
|
||||
#### Efficient Update
|
||||
#### Advance Update
|
||||
|
||||
For server-side application, for example linux application server, `select` or `epool` is often used in `non-blocking` `asnc` architecture, to serve over `10k` clients. For these use scenarios, there are usually huge connections(>3k) to serve, it may cause performance issue when use `ikcp_update` for each connection to upddate, user should better use `ikcp_check` to replace `ikcp_update`. Unlike `ikcp_update` to update KCP every N ms, `ikcp_check` tells us the exactly time to update the KCP(Only need to update when called `ikcp_send` or `ikcp_input`).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user