Updated EN_KCP Best Practice (markdown)

winlin 2017-02-21 17:54:48 +08:00
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`).