valkey-io/valkey

[NEW] Introduce QUIC as a Transport Protocol for Valkey

Aberta

#1.652 aberto em 2 de fev. de 2025

 (7 comentários) (14 reações) (0 responsável)C (1.138 forks)batch import
client-changes-neededhelp wantedmajor-decision-pending

Métricas do repositório

Stars
 (25.779 estrelas)
Métricas de merge de PR
 (Mesclagem média 17d 7h) (74 fundiu PRs em 30d)

Description

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

Guia do colaborador