Pika

active

by OpenAtom Foundation (originally Qihoo 360) · since 2015 · also known as PikiwiDB

Qihoo 360's Redis-compatible, RocksDB-backed store for datasets too big for memory.

key-valuedatabase engineopen source (permissive)mature

Overview

Pika (now branded PikiwiDB in its OpenAtom Foundation repository) was built at Qihoo 360 to keep Redis's protocol and operating model while storing data in RocksDB on disk. It targets the point where Redis instances grow beyond tens of gigabytes and start suffering from slow restarts, large replication buffers and memory cost. It supports the common Redis data types, slaveof-style replication and Codis-based clustering, and is heavily used in China. Outside that ecosystem documentation is thinner, much of it in Chinese.

Strengths & trade-offs

Strengths

  • +Disk-based storage keeps cost low for large Redis-style datasets
  • +Fast restarts and replication compared with huge in-memory Redis instances
  • +Hot-data cache layer in front of RocksDB
  • +Long production history at Qihoo 360 and other Chinese internet companies

Trade-offs

  • −Higher latency than RAM-only Redis
  • −Clustering relies on Codis rather than native Redis Cluster
  • −English documentation and community support are limited
  • −Incomplete coverage of newer Redis commands

Great for

  • +Large persistent key-value data behind a Redis API
  • +Cutting memory cost of oversized Redis deployments

Think twice for

  • −Ultra-low-latency caching
  • −Teams needing vendor support outside China

Capabilities

Native or official first-party support · 7 of 25 tracked

✓Transactions
✓Geospatial
✓TTL / expiry
✓Pub/Sub
✓Durable persistence
✓Compression
✓Role-based access
–Joins
–Secondary indexes
–Full-text search
–Vector search
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–Columnar storage
–In-memory
–Encryption at rest
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
Addon
Multi-region
No
Transactions
Limited ACID
Consistency
Eventual
Schema
Schemaless
Architecture
Primary replica, Distributed, Client server
Query languages
Redis commands (RESP)

Single instances hold hundreds of GB on disk; horizontal scaling through Codis proxy-based clustering.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withRedis
apis & protocolsRESP2
client languagesPython, Java, JavaScript, Go, C#, Rust, Ruby, PHP, C
used byQihoo 360

Alternatives to Pika

Compare all→
Apache KvrocksKey-Value10.3

A Redis-protocol database on RocksDB that trades a little latency for disk-sized capacity.

pika vs apache-kvrocks →
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

pika vs redis →
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

pika vs valkey →
DragonflyKey-Value20.7

A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.

pika vs dragonfly →
MemcachedKey-Value50.6

The original multi-threaded, dead-simple distributed memory cache for key-value blobs.

pika vs memcached →
EVCacheKey-Value2.8

Netflix's memcached-based distributed cache with zone-aware replication, built for AWS microservices.

pika vs evcache →

Pika FAQ

What is Pika?

Pika is a key-value database by OpenAtom Foundation (originally Qihoo 360), first released in 2015. Pika (now branded PikiwiDB in its OpenAtom Foundation repository) was built at Qihoo 360 to keep Redis's protocol and operating model while storing data in RocksDB on disk. It targets the point where Redis instances grow beyond tens of gigabytes and start suffering from slow restarts, large replication buffers and memory cost. It supports the common Redis data types, slaveof-style replication and Codis-based clustering, and is heavily used in China. Outside that ecosystem documentation is thinner, much of it in Chinese.

Is Pika open source?

Yes. Pika is open source. License: BSD 3-Clause.

Does Pika support ACID transactions?

Partly. Pika offers limited ACID guarantees (for example, single-record or single-partition transactions), with eventual consistency.

Does Pika scale horizontally?

Pika scales horizontally through an official extension, proxy or edition rather than in the core engine. It is comfortable at medium scale (≤ 10 TB).

How can I run Pika?

You can self-host it.

What is Pika best for?

Pika is a strong fit for large persistent key-value data behind a Redis API and cutting memory cost of oversized Redis deployments. Think twice for ultra-low-latency caching.

What are the best alternatives to Pika?

Common alternatives to Pika include Apache Kvrocks, Redis, Valkey, Dragonfly and Memcached. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Pika?

Pika ranks #375 of 844 databases on the WhichDB Score (5.8/100), and #52 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.