//KV Store

Fast key-value storage built for global applications

Eventually consistent key-value storage with automatic global replication. Designed for read-heavy workloads and modern applications.

Docs

Low-latency reads worldwide

Serve sessions, feature flags, configuration, and lookup data close to users for fast decisions in global applications.

Simple key-value API at scale

Store and retrieve application state with a schemaless API that supports JSON, binary data, streams, metadata, and TTLs.

Persistent state beyond cache

Keep durable key-value data available for read-heavy workloads, instead of relying on volatile cache entries or repeated origin lookups.

Native JavaScript API for FunctionsAccess KV Store directly from Functions to store and retrieve sessions, flags, and counters without extra network hops. Cloudflare Workers KV API compatible for easy migration.
KV Store JavaScript API workflow for application state.
Store any data type, no schema requiredStore JSON objects, binary data, and streams without rigid schemas or serialization overhead. Attach metadata for additional context.
KV Store flexible data types including JSON objects, binary buffers, and streams with metadata
DNZ
Axur
Radware
Arezzo
Contabilizei
Magazine Luiza
Fourbank
Radware
Crefisa
Netshoes
Dafiti
Global Fashion Group
Pernambucanas Logo

"Our partnership with Azion ensured secure, high-performance connections from endpoints to servers, bringing high availability and significant benefits."

Diego Romano

Computer Security Incident Response Team (CSIRT) at Pernambucanas

From key-value to full application state

KV Store integrates with Functions, SQL Database, and Object Storage for complete application state management.
Learn More

See how to use

Sessions

Session management and authentication

Store user sessions, authentication tokens, and login states close to users for fast authentication. Fast reads enable responsive session validation without round-trips.

Configuration

Feature flags and configuration

Synchronize feature flags and application configuration globally with low latency. Safely roll out features, run A/B tests, and manage settings with TTL.

Security

API rate limiting and quotas

Implement sliding window rate limits, token quotas, and access rules. Track API usage per IP, user, or token with fast lookups to protect APIs.

Analytics

Global counters and analytics

Count pageviews, inventory levels, and API usage in real time with distributed counters. Aggregate metrics across regions with eventual consistency.

Security

Bad actor tracking and security lists

Store IP addresses and threat signatures to block attackers in real time. Query large block lists with low-latency access to prevent malicious access.

//Complete, not complex

A full-stack platform that scales instantly

Frequently Asked Questions

What is KV Store?

Azion KV Store is a serverless key-value database with global read replicas. Key features include: low-latency reads across Azion's distributed network, automatic replication, native Functions integration, TTL support, and flexible data types (String, JSON, Buffer, Stream). The API is compatible with Cloudflare Workers KV for easy migration. Ideal for sessions, feature flags, rate limiting, and configuration management.

What data types does KV Store support?

KV Store supports 4 data types natively: String, JSON objects, binary buffers, and streams. Unlike string-only key-value stores, you can store complex objects and binary data without serialization overhead. The schemaless design allows flexible data modeling without migrations.

How does replication work?

KV Store uses a primary instance for writes and global read replicas. Data synchronizes with eventual consistency, providing high availability and fast reads close to users. This architecture is ideal for reference data, sessions, and configuration that doesn't require immediate global consistency.

Can I set expiration on keys?

Yes. KV Store supports native TTL (time-to-live) to automatically expire ephemeral keys. This is useful for session tokens, temporary feature flags, cache entries, and time-limited configurations.

How do I access KV Store from Functions?

Functions can access KV Store through a native JavaScript API in the runtime. This enables direct integration without extra network hops—your code reads and writes data within the same execution environment.

What are common use cases for KV Store?

Common use cases include: session management (store user sessions and authentication tokens with TTL), feature flags (manage rollouts and A/B tests globally), rate limiting (implement sliding window limits per IP or user), configuration (store app config with low-latency reads), counters (track pageviews and API usage), and security lists (block bad actors with fast lookups).

What are the storage limits?

KV Store supports keys up to 512 bytes and values up to 25 MB. You can attach metadata to each key-value pair for additional context. These limits accommodate most session, configuration, and feature flag use cases.

Is KV Store compatible with Cloudflare Workers KV?

Yes. KV Store provides a compatible API with Cloudflare Workers KV, making migration straightforward. Code written for Cloudflare KV requires minimal changes to run on Azion. This reduces lock-in and lets teams use familiar patterns.

Is there a free tier to test KV Store?

Yes. You get $300 in credits valid for 365 days to test KV Store and other Azion products. Start building immediately without infrastructure provisioning—fully serverless with scale-to-zero when idle.

How does pricing compare to Cloudflare Workers KV?

Cloudflare Workers KV charges $5 per 1M writes—10x their read pricing ($0.50/1M reads). For write-heavy workloads like session management, this adds up quickly. Azion uses consumption-based pricing without the write premium. Compare total costs based on your read/write ratio.

//Store

Your data.
Available everywhere.

Talk to our team of experts and start saving money