WORKERS KV

1

Overview

How KV works

Workers KV is a globally distributed key-value store optimized for frequent, low-latency reads on the edge.

Think of it this way

It's like spreading copies of a popular catalog across many cities. Reads happen close to the user and new versions propagate through the network.

Features

  • Global reads
  • Eventual consistency
  • Per-key TTL
  • Metadata
1/9
EDGE REQUEST📡🔎 Buscando valor salvoCONFIG DEPLOY🚀💾 Salvando novo valorCLOUDFLARE WORKERS KVKV BINDINGNamespace acessível diretamente pelo Worker⚙️wrangler.jsonc→🔗env.KV→🗂️NamespaceLEITURA NA EDGE⚡< 10ms globalVÁRIAS CHAVEStemaidioma1 pedido, até 100 chavesNAMESPACE KV🎨 "tema"→ "modo escuro"⏳ Expira em 1 horaautomaticamenteREPLICAÇÃO E TTL✍️Write→🌍~60s→⏳Expira1 write/s por chaveBUSCA POR PREFIXO📂"user:" → lista todosRESPOSTA RÁPIDA⚡Sem ida à origemCONFIG GLOBAL🏳️Flags🔑Sessão🗃️Cachemuitas leituras, poucas escritasLEGENDAFluxo ativo na etapaHover