Benchmarks

Measured against Redis, on the same machine, from the records in the repository

Each run starts both servers on one host, drives them with the same load generator in alternating rounds, and stores the raw numbers in a JSON file next to the site. The charts below are drawn from those files when the site is built. Runs of hours under load and failures are on the long-run tests page.

Mac (ARM)1.46×geometric mean over 60 commands; 59 at 0.97× or faster; memory −25%
Azure VM (x86)1.22×geometric mean over 60 commands; 59 at 0.97× or faster; memory −8%

One command instead of a script

1.69× to 8.18× the throughput of the same job written as a Lua script

Moving a balance, popping due jobs, a sliding-window limiter or a counter that gets a deadline when it is created are one command in Ruvio. On Redis the usual answer is a Lua script. Each row runs the Ruvio command against that script (EVALSHA) on the same machine. The table compares the two ways of doing the job, not the servers in general.

Ruvio commandRuvio ops/sRedis Lua ops/sRatiop50 msp99 ms
TRANSFER (enough)2.59M316K8.18×0.10 / 0.290.31 / 0.53
TRANSFER (source too low)2.22M626K3.55×0.10 / 0.140.30 / 0.38
HTRANSFER (enough)1.64M271K6.05×0.11 / 0.370.32 / 0.65
SET IFGT (random keys, half hit)2.46M604K4.07×0.11 / 0.180.33 / 0.41
ZPOPBYSCORE COUNT 11.52M218K6.94×0.10 / 0.350.33 / 0.63
ZPOPBYSCORE COUNT 10358K152K2.36×0.35 / 0.550.44 / 0.97
ZPOPBYSCORE nothing due2.19M524K4.18×0.11 / 0.170.31 / 0.40
ZMOVEDUE COUNT 11.16M331K3.51×0.11 / 0.270.33 / 0.49
ZMOVEDUE COUNT 10313K185K1.69×0.40 / 0.530.59 / 1.31
INCR EX 60 (1000 keys, mostly existing)1.97M667K2.96×0.18 / 0.170.31 / 0.38
INCR EX 60 (new keys)1.22M439K2.78×0.17 / 0.260.34 / 0.44
LIMIT plain (fixed window, allowed)1.99M570K3.48×0.17 / 0.210.30 / 0.41
LIMIT SLIDING (allowed)1.75M284K6.17×0.18 / 0.340.33 / 0.53
LIMIT SLIDING (mostly refused, max 5)2.04M348K5.86×0.18 / 0.290.31 / 0.49
LIMIT TOKENS (allowed)1.31M304K4.31×0.18 / 0.270.34 / 0.49
LIMIT TOKENS (mostly refused, capacity 5)2.13M397K5.35×0.18 / 0.270.31 / 0.46
RENEW lease2.14M536K4.00×0.18 / 0.210.31 / 0.41
RENEW semaphore slot1.90M537K3.54×0.18 / 0.220.32 / 0.42
Memory per keyRuvioRedisRatio
100,000 counters INCR ... EX (vs INCR + EXPIRE)92 B102 B0.90×
100,000 leases (vs SET ... PX)69 B102 B0.68×
100,000 sliding-window limiters (vs two-counter Lua)107 B104 B1.03×
100,000 token buckets (vs hash + PEXPIRE Lua)107 B135 B0.79×
50,000 one-holder semaphores (vs one-member ZSET)131 B93 B1.42×

Source: benchmark/records/mac-scripted-2026-10-19.json · Apple silicon, 12 cores, 2026-10-19, commit 28795745 · Redis 8.10.2 · 50 clients, pipeline 16, 3 alternating rounds, median · p50 and p99 are Ruvio / Redis with one request in flight per connection · in-memory, 1 shard · macOS only, not yet measured on Linux or x86 · semaphore memory is compared with a one-member sorted set, Redis's most compact structure for the job.

Two machines

Where each command lands on both machines

Each dot is one command: its ratio to Redis on Mac (ARM) across, on Azure VM (x86) up. The shaded corner holds the commands that are faster than Redis on both. Dots near the faint diagonal behave the same on ARM and x86.

0.7×1×1.5×2×2.5×0.7×1×1.5×2×2.5×Mac (ARM): Ruvio ÷ RedisAzure VM (x86): Ruvio ÷ Redis57 faster on both2 on Mac only0 on Azure only1 behind on both

Reading it

The two machines are very different: a 12-core ARM laptop with no pinning, and an x86 cloud VM with the server and the load generator pinned to separate cores. A command that stays top-right on both is fast because of how Ruvio runs it, not because of the hardware.

faster on bothfaster on onebehind on both

Sources: benchmark/records/mac-2026-10-28.json, benchmark/records/x86-azure-2026-10-11.json

Distribution

All 60 commands on one axis

The same results as a swarm: one dot per command, stacked where they crowd. Most of the mass sits right of the dashed Redis line on both machines.

0.7×0.8×Redis 1×1.25×1.5×2×2.5×Macmedian 1.42×Azuremedian 1.19×

Under load

Throughput and tail latency together

Each line joins Redis (hollow) to Ruvio (filled). In the first column further right is more requests per second; in the second, further left is a lower p99. Rows cover client counts, pipelining, fsync on every write, and more Ruvio shards.

RedisRuvio
ScenarioRequests per second → betterp99 latency ← better

No pipelining

SET · 50 clients, no pipeline
1.05×
0.49 ms
GET · 50 clients, no pipeline
1.00×
0.46 ms
SET · 200 clients, no pipeline
1.05×
1.8 ms
GET · 200 clients, no pipeline
1.00×
1.7 ms

Pipeline 16

SET · 200 clients, pipeline 16
1.43×
3.1 ms
HSET · 200 clients, pipeline 16
1.11×
4.1 ms
SET · 200 clients, pipeline 16 · Ruvio 2 shards
1.67×
3.1 ms
SET · 200 clients, pipeline 16 · Ruvio 4 shards
1.66×
1.3 ms
GET · 200 clients, pipeline 16 · Ruvio 2 shards
1.17×
2.7 ms

fsync on every write (always)

SET · 50 clients
2.67×
3.3 ms
SET · 200 clients
1.50×
5.4 ms
SET · 50 clients, pipeline 16
2.33×
5.4 ms
SET · 200 clients, pipeline 16 · Ruvio 2 shards
1.00×
15.2 ms

Source: benchmark/records/x86-azure-2026-10-11.json · Azure VM, AMD EPYC 7763, 8 vCPU · 2026-10-11, commit 5520164 · server and load generator share the VM, so compare the two servers with each other, not with other hosts. Un-pipelined rows are limited by the load generator.

Peak throughput

29M requests per second on one machine

With 8 shards on 8 cores and a client that keeps them busy (pipeline 64), the simplest commands reach about 29 million requests per second: GET 29.0M, SET 29.9M, DEL 30.3M.

GET29.0Mrequests per second on 8 shards; one Redis process on one core serves 2.3M, a 8-node Redis Cluster 16.6M
SET29.9Mrequests per second; the cluster reaches 13.5M (2.21× for Ruvio)
Per shard3.6MGET requests per second for each shard, one core each; 8 shards give 29.0M because they never wait for one another
Why it is fast0 lockseach shard owns its keys on its own core; a command never waits for another shard, so shards add up
Command
1.00M2.00M5.00M10.00M20.00M
vs cluster
GET
1.75×
SET
2.21×
DEL (missing key)
1.75×
SETEX
2.04×
HGET
1.23×
HSET (existing field)
1.15×
LPUSH
0.99×
Ruvio, 8 shards, one processRedis Cluster, 8 nodes, same coresone Redis process, one core

What the number is

The sum over 8 shards, each driven by its own redis-benchmark (50 clients, pipeline 64, in-memory). It shows what the hot path can do when the network and the client are not the limit.

What it is not

Not every command: heavier ones such as SETEX, HSET or LPUSH run at 13.6M to 19.4M, and large replies are limited by the network. Without pipelining, a request waits for its reply and the load generator becomes the limit.

Conditions

One Azure VM, F16as_v6 (AMD EPYC 9V74, virtualized, 16 cores, no SMT): servers on cpus 8-15, load generators on cpus 0-7, loopback, 2026-10-16. Server and load generator share the VM, so compare the systems with each other, not with other hosts.

Source: benchmark/records/x86-azure-2026-10-16-8-shards-p64-after.json · the same run as the pipeline 64 grid below.

Whole machine

8 shards against a Redis Cluster of 8 and a single Redis

One redis-benchmark per shard, pinned to its own core, sends each command to that shard's port with the keys inside a hash tag the shard owns, so nothing crosses shards. The same load goes to each node of a Redis Cluster on the same 8 cores, and to one Redis process on one core. Rates are summed over the shards.

In-memory, pipeline 161.13×geometric mean against the cluster over 59 commands; 56 of 60 at 0.97× or faster; per core 1.09× of one Redis
In-memory, pipeline 641.23×geometric mean against the cluster over 59 commands; 56 of 60 at 0.97× or faster; per core 1.17× of one Redis
everysec against Redis AOF everysec1.14×geometric mean against the cluster over 59 commands; 55 of 60 at 0.97× or faster; per core 1.10× of one Redis
Memory0.96×per shard against one Redis over 12 data shapes (0.94× against the cluster's total)
Command
500K1.00M2.00M5.00M10.00M
vs cluster
GET
0.96×
SET
1.09×
DEL (missing key)
0.96×
SETEX
1.40×
HSET (existing field)
1.14×
HGET
1.05×
LPUSH
1.02×
ZADD (existing member, same score)
1.16×
EXPIRE (key with TTL)
1.24×
PUBLISH (no subscribers)
1.36×
Ruvio, 8 shards, one processRedis Cluster, 8 nodes, same coresone Redis process, one core
CommandRuvio 8 shardsRedis Cluster 8One Redisvs clusterper core vs one Redis
DUMP (64 B string)6.97M2.92M372K2.39×2.34×
LINSERT (pivot missing, scans 100)7.05M4.67M593K1.51×1.49×
HGET (10-field hash)4.81M3.24M538K1.48×1.12×
LREM (value missing, scans 100)7.04M4.77M607K1.48×1.45×
COPY ... REPLACE (64 B string)9.20M6.31M877K1.46×1.31×
GEOSEARCH (radius 50 km, COUNT 10)151K105K13K1.44×1.44×
SETEX8.89M6.33M840K1.40×1.32×
HSET (10-field hash, existing field)4.32M3.14M500K1.37×1.08×
GEOADD8.14M5.96M772K1.37×1.32×
MSET (3 keys)8.14M5.97M787K1.36×1.29×
PUBLISH (no subscribers)2.98M2.19M630K1.36×0.59×
HDEL (10-field hash, missing field)4.35M3.28M549K1.33×0.99×
LMOVE (rotate a 100-element list)8.54M6.53M843K1.31×1.27×
LPOS (100 elements, hit in the middle)6.56M5.17M661K1.27×1.24×
HGETALL (10-field hash)3.12M2.48M314K1.26×1.24×
GETEX (set a 100 s deadline)8.91M7.14M952K1.25×1.17×
INCRBYFLOAT5.72M4.62M613K1.24×1.17×
EXPIRE (key with TTL)9.13M7.38M977K1.24×1.17×
ZADD (existing member, same score)9.07M7.82M1.04M1.16×1.09×
BITFIELD INCRBY u8 (always writes)8.26M7.20M958K1.15×1.08×
HSET (existing field)9.13M8.00M1.05M1.14×1.08×
LINDEX (20-item list)8.30M7.47M568K1.11×1.83×
LSET (20-item list)9.05M8.16M1.07M1.11×1.06×
MGET (3 keys)7.74M7.00M943K1.11×1.03×
BITFIELD GET u88.76M7.99M1.06M1.10×1.03×
SET8.78M8.06M1.07M1.09×1.02×
RENAME (same key)9.19M8.59M1.17M1.07×0.98×
SETRANGE9.20M8.60M1.14M1.07×1.01×
ZSCORE9.14M8.56M1.12M1.07×1.02×
SETBIT (1 KiB bitmap, same bit)9.29M8.76M1.16M1.06×1.00×
SADD (existing member)9.32M8.85M1.17M1.05×0.99×
HSTRLEN9.19M8.74M1.15M1.05×1.00×
SRANDMEMBER9.24M8.80M1.17M1.05×0.99×
HGET9.10M8.68M1.15M1.05×0.99×
HMGET (2 fields)8.31M7.95M1.03M1.05×1.00×
PFADD9.11M8.72M1.15M1.04×0.99×
GETRANGE9.07M8.69M1.15M1.04×0.99×
LSET (100 elements)7.84M7.54M968K1.04×1.01×
SISMEMBER9.19M8.90M1.19M1.03×0.97×
MEMORY USAGE9.28M9.00M1.19M1.03×0.97×
PFCOUNT9.29M9.02M1.17M1.03×1.00×
OBJECT ENCODING9.16M8.94M1.20M1.03×0.95×
LPUSH8.28M8.07M1.06M1.02×0.98×
GETBIT (1 KiB bitmap)9.29M9.14M1.17M1.02×1.00×
PERSIST (key without TTL)9.24M9.13M1.18M1.01×0.98×
BITCOUNT (1 KiB bitmap)8.99M8.89M1.18M1.01×0.95×
APPEND (1 byte)8.70M8.71M1.15M1.00×0.95×
ZINCRBY5.99M6.00M783K1.00×0.96×
TOUCH9.34M9.37M1.16M1.00×1.00×
TTL9.25M9.29M1.21M0.99×0.96×
LLEN9.25M9.32M1.18M0.99×0.98×
EXISTS9.25M9.32M1.17M0.99×0.99×
PTTL9.20M9.28M1.18M0.99×0.97×
TYPE9.03M9.16M1.16M0.99×0.97×
EXPIRETIME9.23M9.39M1.16M0.98×0.99×
LRANGE 0 27.89M8.02M1.03M0.98×0.95×
GET8.68M9.02M1.13M0.96×0.96×
DEL (missing key)8.89M9.31M1.18M0.96×0.94×
LRANGE 0 9 (20-item list)5.56M5.82M407K0.96×1.71×
FILLGET (value present)8.49M9.29M1.15M0.91×0.92×
Data shape (8 copies on the 8-shard systems)Ruvio 8 shardsRedis Cluster 8One Redis, one copyper shard vs one Redis
20,000 lists of 20 elements46.6 MiB42.3 MiB5.2 MiB1.13×
5,000 HyperLogLogs of 100 elements15.9 MiB14.3 MiB2.0 MiB1.01×
20,000 bitmaps of 128 B (SETBIT)31.4 MiB27.4 MiB3.4 MiB1.14×
100,000 BITFIELD counters (u16)27.6 MiB41.6 MiB5.1 MiB0.67×
100,000 geo points in one key47.8 MiB47.7 MiB5.7 MiB1.04×
100,000 strings of 16 B45.0 MiB54.0 MiB6.7 MiB0.84×
100,000 strings of 128 B139.3 MiB157.6 MiB19.6 MiB0.89×
100,000 strings of 16 B with TTL79.2 MiB77.6 MiB9.9 MiB1.00×
100,000 one-element lists42.2 MiB53.4 MiB6.7 MiB0.79×
50,000 small hashes (3 fields)27.1 MiB28.3 MiB3.2 MiB1.07×
50,000 small sets (4 members)24.6 MiB25.3 MiB3.0 MiB1.01×
50,000 small sorted sets (3 members)23.7 MiB24.6 MiB2.8 MiB1.07×

Sources: benchmark/records/x86-azure-2026-10-16-8-shards-final.json · benchmark/records/x86-azure-2026-10-16-8-shards-p64-after.json · benchmark/records/x86-azure-2026-10-16-8-shards-everysec-after.json · Azure VM F16as_v6 (AMD EPYC 9V74, virtualized), 16 cores without SMT; servers on cpus 8-15, load generators on cpus 0-7, loopback · 2026-10-16, Ruvio per-shard forwarding branch at 7376885: lean dispatch in per-shard mode, non-blocking PUBLISH, cycle-counter SLOWLOG timing, six more commands in the WAL group, no record for a no-op SADD · the record with the one-shard control run and the profiles is in the docs.

More shards

Adding shards with a cluster-aware client

Also on the long-run tests page. One memtier_benchmark (8 threads, pipeline 16) routes each key to the shard that owns it: --cluster-mode against Ruvio, and against a Redis Cluster with one master per core (one plain Redis for one shard). SET and GET over 100,000 keys, median of 3 rounds.

ShardsRuvio SETRedis SETRatioRuvio GETRedis GETRatio
11.25M1.10M1.14×1.53M1.03M1.49×
46.81M3.05M2.24×5.44M3.55M1.53×

One port, a client that does not route

Every connection on the first port; the server forwards each command to the shard that owns its key. Since the forwarding shard wakes each other shard once per turn instead of once per send:

ShardsSET beforeSET nowGET beforeGET now
4648K875K655K1.05M
8669K1.22M545K986K

One shard, same run

CommandRuvioRedis 8.10.2Ratio
SET1.09M856K1.27×
GET1.09M999K1.09×
INCR1.09M923K1.18×
LPUSH923K923K1.00×
LPOP857K857K1.00×
GET one key1.20M1.09M1.10×

Source: benchmark/records/x86-azure-2026-10-26-shard-scaling.json · Azure VM F16as_v6, AMD EPYC 9V74 (virtualized), 16 cores without SMT; servers on cpus 8-15, load on cpus 0-7, loopback · 2026-10-26, Ruvio bfc23fe · 8 shards were measured too but are not shown: eight load threads were the limit for both systems there · record in the docs.

Every row

Full results

Median requests per second over the rounds, Ruvio and Redis side by side. The whisker spans the worst and best pairing of rounds, so a wide whisker means a noisy row.

CommandRuvio ops/sRedis ops/s
0.5×1×2.5×
Ratio
MSET (3 keys)2.90M1.15M
2.52×
GEOSEARCH (radius 50 km, COUNT 10)47K19K
2.47×
SETEX3.10M1.30M
2.38×
GEOADD2.61M1.15M
2.26×
COPY ... REPLACE (64 B string)3.21M1.53M
2.11×
GETEX (set a 100 s deadline)3.00M1.50M
2.00×
LMOVE (rotate a 100-element list)2.73M1.48M
1.85×
EXPIRE (key with TTL)3.21M1.88M
1.71×
SETRANGE3.60M2.14M
1.68×
HGET (10-field hash)3.21M1.91M
1.68×
HSET (10-field hash, existing field)2.90M1.73M
1.68×
SETBIT (1 KiB bitmap, same bit)3.46M2.09M
1.65×
BITFIELD GET u82.90M1.80M
1.61×
BITFIELD INCRBY u8 (always writes)2.57M1.61M
1.60×
LINSERT (pivot missing, scans 100)1.41M882K
1.59×
LREM (value missing, scans 100)1.43M909K
1.57×
LPOS (100 elements, hit in the middle)1.76M1.13M
1.57×
ZADD (existing member, same score)3.00M1.91M
1.57×
HSTRLEN3.60M2.31M
1.56×
GETBIT (1 KiB bitmap)3.60M2.37M
1.52×
SET3.10M2.05M
1.52×
HDEL (10-field hash, missing field)3.10M2.05M
1.52×
HSET (existing field)3.00M2.00M
1.50×
LSET (20-item list)3.00M2.00M
1.50×
GETRANGE3.10M2.09M
1.48×
HGET3.33M2.25M
1.48×
MEMORY USAGE3.60M2.43M
1.48×
SISMEMBER3.60M2.43M
1.48×
LINDEX (20-item list)3.21M2.25M
1.43×
PFADD3.46M2.43M
1.42×
DUMP (64 B string)2.50M1.76M
1.42×
OBJECT ENCODING3.33M2.37M
1.41×
BITCOUNT (1 KiB bitmap)3.46M2.50M
1.38×
SADD (existing member)3.46M2.50M
1.38×
EXPIRETIME3.75M2.73M
1.37×
LLEN3.60M2.65M
1.36×
RENAME (same key)3.21M2.37M
1.36×
DEL (missing key)3.46M2.57M
1.35×
TOUCH3.75M2.81M
1.33×
LPUSH2.65M2.00M
1.32×
EXISTS3.60M2.73M
1.32×
TTL3.60M2.73M
1.32×
PERSIST (key without TTL)3.60M2.73M
1.32×
PUBLISH (no subscribers)3.60M2.73M
1.32×
ZINCRBY2.05M1.55M
1.32×
HMGET (2 fields)2.37M1.84M
1.29×
GET3.10M2.43M
1.28×
PTTL3.46M2.73M
1.27×
APPEND (1 byte)3.00M2.37M
1.27×
MGET (3 keys)2.09M1.67M
1.26×
ZSCORE2.81M2.25M
1.25×
LSET (100 elements)2.20M1.76M
1.24×
PFCOUNT3.21M2.65M
1.21×
INCRBYFLOAT1.50M1.27M
1.18×
TYPE3.21M2.73M
1.18×
SRANDMEMBER3.00M2.57M
1.17×
LRANGE 0 22.05M1.80M
1.14×
LRANGE 0 9 (20-item list)1.23M1.22M
1.01×
HGETALL (10-field hash)763K763K
1.00×
FILLGET (value present)2.50M2.65M
0.94×

Source: benchmark/records/mac-2026-10-28.json · 2026-10-28, commit 93eb7084

Memory

Memory added per data shape

Resident memory after loading minus resident memory at idle, for each server. Left is less, on a log axis.

RuvioRedis
Data shape
2 MiB51020
Saved
100,000 BITFIELD counters (u16)
−46%
100,000 one-element lists
−44%
100,000 strings of 16 B
−43%
50,000 small sets (4 members)
−40%
50,000 small sorted sets (3 members)
−37%
50,000 small hashes (3 fields)
−31%
5,000 HyperLogLogs of 100 elements
−16%
20,000 bitmaps of 128 B (SETBIT)
−16%
100,000 strings of 128 B
−16%
100,000 geo points in one key
−13%
100,000 strings of 16 B with TTL
−9%
20,000 lists of 20 elements
−7%

12 of 12 shapes below Redis · total 68.7 MiB against 91.3 MiB · benchmark/records/mac-2026-10-28.json

Method

How the numbers are made

Mac (ARM)
Machine
Apple silicon, 12 cores, 24 GiB, macOS 26.7.1 arm64
Redis
8.10.2
Load
50 clients, pipeline 16, 3 alternating rounds, median
Ruvio
memory profile, 1 shard, release build, commit 93eb7084
Pinning
none
Azure VM (x86)
Machine
Azure VM, AMD EPYC 7763 (virtualized), 8 vCPU = 4 cores x 2 threads, 31 GiB, Ubuntu 24.04, kernel 6.17.0-azure; data disk Premium SSD v2 32 GiB (16,000 IOPS, 400 MB/s, host caching none) with ext4; OS disk Standard SSD. Native processes only (no Docker).
Redis
8.10.2
Load
50 clients, pipeline 16, 5 alternating rounds, median
Ruvio
memory profile, 1 shard, release build, commit 5520164
Pinning
server on cpu 0, load generator on cpus 2 and 4

The whole-machine grids come from scripts/shard_compare.py: 8 shards in one Ruvio process (port_mode = "per-shard"), a Redis Cluster of 8 masters created with redis-cli --cluster create, and one Redis process, each driven by one redis-benchmark per shard with hash-tagged keys. The 8-shard systems hold 8 copies of each data shape, so a shard holds what the single process holds.

The single-machine rows come from scripts/redis_compare_features.py, which runs redis-benchmark against each server in turn. Absolute numbers describe one host; the ratio between the two servers is the result. Shared cloud machines vary from run to run, so a row within a few percent of 1× is a tie.

Benchmarking guide All records Long-run tests