Key-value storage
A replicated key-value store with low-latency reads, such as Cloudflare KV.
A key-value store holds data under a known key and returns it quickly, often from many regions at once. Cloudflare KV is an example of a globally replicated store with low-latency reads. You use it for configuration, session hints, feature flags, and other records you look up by id rather than by a complex query.
The contract is simple: put, get, delete, sometimes list. You do not get rich joins or strong cross-key transactions, and writes may take time to show up everywhere if the store is eventually consistent. That is fine for a banner, a cached profile, or a compiled config. It is not fine for a bank balance.
Keep values small, keys stable, and the schema versioned so you can migrate. When the value grows into a blob, move it to object storage and store the pointer. When you start needing queries, it is time for SQL.
On edge compute, key-value storage is often the first place people stash state. Use it on purpose, and write down the consistency you are actually getting, so the next person does not treat it like a database.