valkey-io/valkey
[NEW] Introduce QUIC as a Transport Protocol for Valkey
Aperta
#1652 aperta il 2 feb 2025
client-changes-neededhelp wantedmajor-decision-pending
Metriche repository
- Star
- (25.779 stelle)
- Metriche merge PR
- (Merge medio 17g 7h) (74 PR mergiate in 30 g)
Descrizione
Why?
- Faster Connection Setup → QUIC combines TLS + transport handshake in 1 RTT, reducing connection latency.
- Lower Overhead → Runs entirely in user space, avoiding kernel context switches from TCP+TLS.
- Better Loss Recovery → No TCP head-of-line blocking; packet loss on one request doesn’t stall others.
- Simplifies TLS Management → QUIC always encrypts with TLS, eliminating the need for separate TLS handling.
We’ll start with the existing 1:1 client-to-connection model, but in the future, we can explore multiplexing multiple streams per QUIC connection to further reduce connection overhead.
This is related to the discussion at https://github.com/valkey-io/valkey/issues/17#issuecomment-2018594155, #54, and #1300.
@ohadshacham, @pizhenwei, @asafpamzn, @zuiderkwast, @valkey-io/core-team