PM4: Reduce sending latency by skipping RakLib buffering #3325
Labels
Category: Network
Related to the internal network architecture
Performance
Resolution: Implemented
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
In PM4, packets are buffered at the Minecraft layer for batch compression and flushed every 50ms. RakLib then buffers for an additional 10ms, which creates unnecessary extra latency considering that we know that there won't be any more packets to buffer because we already buffered them.
The text was updated successfully, but these errors were encountered: