All Questions
Networking Essentials hard

Nagle's Algorithm is enabled by default in TCP. Why might you disable it (`TCP_NODELAY`) for a real-time game?

  1. A Because Nagle's algorithm consumes a disproportionate amount of CPU cycles by constantly calculating the optimal checksum for small, high-frequency data packets.
  2. B Because the algorithm significantly increases the overall bandwidth usage by redundantely re-sending small control packets to ensure the stable state of the connection.
  3. C Because the buffering logic within the algorithm fundamentally conflicts with the end-to-end cryptographic integrity checks required for secure real-time communication.
  4. D Because Nagle's algorithm buffers small outgoing messages to combine them into fewer, larger packets, which can introduce a critical 200ms delay to 'instant' player updates.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions