ROMA

discontinued

by Rakuten · since 2009 · also known as ROMA KVS, Rakuten On-Memory Architecture

Rakuten's decentralised, memcached-compatible distributed key-value store written in Ruby; dormant since 2019.

key-valuedatabase engineopen source (copyleft)legacy

discontinued. No release since 1.3.0 (January 2016) and no commits since 2019; project site offline. Use Redis/Valkey clusters, Apache Cassandra or Aerospike.

Overview

ROMA is a distributed key-value store that Rakuten built and open-sourced for its own services. It is a pure peer-to-peer system shaped like a distributed hash table: every node is equal, routing tables map key ranges to nodes, and data is replicated so the cluster survives node loss and can add capacity without a coordinator. It is written in Ruby, speaks the memcached text protocol so any memcached client works, and ships Ruby and Java clients plus plugins and pluggable storage back-ends. The last release, 1.3.0, came out in January 2016, the final commit landed in 2019 and the roma-kvs.org site has gone offline.

Strengths & trade-offs

Strengths

  • +Masterless P2P design with no single point of failure
  • +memcached protocol compatibility means existing clients just work
  • +Replication and online node addition built in
  • +Plugin system for extra commands

Trade-offs

  • −Ruby implementation limits per-node throughput
  • −Unmaintained since 2019; documentation site gone
  • −Small community, much of it in Japanese

Great for

  • +Studying a P2P DHT-style key-value store
  • +Maintaining legacy ROMA clusters until migration

Think twice for

  • −New deployments
  • −High-throughput caching
  • −Transactional workloads

Capabilities

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

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

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
Native
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Schemaless
Architecture
Distributed, In memory
Query languages
memcached protocol commands

P2P ring with replicated key ranges; nodes join and leave without a master.

Deployment

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

Ecosystem

compatible withMemcached
apis & protocolsmemcached text protocol, ROMA protocol extensions
client languagesRuby, Java, Any memcached client

Alternatives to ROMA

Compare all→
RedisKey-Value84.3

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

roma vs redis →
ValkeyKey-Value58.0

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

roma vs valkey →
MemcachedKey-Value50.6

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

roma vs memcached →
Apache CassandraWide-Column55.9

Masterless wide-column database built for always-on writes across data centers.

roma vs apache-cassandra →
AerospikeKey-Value40.4

Flash-optimized distributed key-value and document database for predictable sub-millisecond latency at scale.

roma vs aerospike →
Riak KVKey-Value18.1

Erlang-based, Dynamo-style key-value store built to stay up through ugly failures.

roma vs riak-kv →

ROMA FAQ

What is ROMA?

ROMA is a key-value database by Rakuten, first released in 2009. ROMA is a distributed key-value store that Rakuten built and open-sourced for its own services. It is a pure peer-to-peer system shaped like a distributed hash table: every node is equal, routing tables map key ranges to nodes, and data is replicated so the cluster survives node loss and can add capacity without a coordinator. It is written in Ruby, speaks the memcached text protocol so any memcached client works, and ships Ruby and Java clients plus plugins and pluggable storage back-ends. The last release, 1.3.0, came out in January 2016, the final commit landed in 2019 and the roma-kvs.org site has gone offline.

Is ROMA open source?

Yes. ROMA is open source. License: GNU General Public License v3.0.

Does ROMA support ACID transactions?

No. ROMA does not provide ACID transactions; its consistency model is eventual.

Does ROMA scale horizontally?

ROMA scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at small scale (≤ 100 GB).

How can I run ROMA?

You can self-host it.

What is ROMA best for?

ROMA is a strong fit for studying a P2P DHT-style key-value store and maintaining legacy ROMA clusters until migration. Think twice for new deployments.

What are the best alternatives to ROMA?

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

Is ROMA still maintained?

ROMA is discontinued. No release since 1.3.0 (January 2016) and no commits since 2019; project site offline. Use Redis/Valkey clusters, Apache Cassandra or Aerospike.

How popular is ROMA?

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