# Introducing Vercel KV

**Published:** May 1, 2023 | **Authors:** Adrian Cooney, Fabio Benedetti, Edward Thomson, Dom Busser, Hector Simpson

---

> **Note:** The Vercel KV product has been sunset. You can now deploy alternative KV stores and other storage solutions through the [Vercel Marketplace Storage](https://vercel.com/marketplace/category/storage?category=storage&search=redis), with automatic account provisioning and unified billing. [Learn more](https://vercel.com/blog/introducing-the-vercel-marketplace).

[Vercel KV](https://vercel.com/storage/kv) is a serverless, durable Redis database, making it easy to implement features like rate limiting, session management, and also manage application state.

The Redis-compatible SDK works from Edge or Serverless Functions and scales with your traffic. KV stores are single [region](https://vercel.com/docs/storage/vercel-kv/limits#vercel-kv-region-list) by default, but can be replicated to multiple regions for distributed workloads.

**user-prefs.ts**
```tsx
import kv from '@vercel/kv';

export async function getPrefs() {
  const prefs = await kv.get('prefs');
  return prefs || {};
}

export async function updatePrefs(prefs: Record<string, string>) {
 return kv.set('prefs', prefs);
}
```

Vercel KV is available for Hobby and Pro users during the public beta.

[Check out our documentation](https://vercel.com/docs/redis) to learn more.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)