tailscale/cmd/derper
David Anderson dbfc916273 derp: add short queues between reader and writer, drop on overload.
This avoids the server blocking on misbehaving or heavily contended
clients. We attempt to drop from the head of the queue to keep
overall queueing time lower.

Also:
 - fixes server->client keepalives, which weren't happening.
 - removes read rate-limiter, deferring instead to kernel-level
   global limiter/fair queuer.

Signed-off-by: David Anderson <dave@natulte.net>
2020-03-20 15:14:01 -07:00
..
derper_test.go cmd/derper: appease staticcheck 2020-03-02 08:59:50 -08:00
derper.go derp: add short queues between reader and writer, drop on overload. 2020-03-20 15:14:01 -07:00