Client Side Prediction

Techniques for hiding network latency by predicting actions locally.

Clients apply inputs instantly while awaiting server confirmation:

  • Maintain circular buffer of local inputs with sequence numbers.
  • When server update arrives with processed sequence number, rewind and replay buffered inputs.
  • Correct mismatches by snapping to authoritative state (may cause rubber-banding).
  • Commonly paired with interpolation for other objects.