← All comparisons

LAVIK 0.2.0

Lavik vs Garnet

More read throughput from the same SSD fleet.

Lavik 0.2.0 vs Garnet 2.2.1: 2.58× GET and 1.05× SET throughput at the same 320 connections on a billion-key dataset. Compare paired tail latency and the complete SSD-backed workloads.

OCTOBER 21–22, 2026

Grow the dataset. Keep reads fast.

2.58×GET throughput
652,881Lavik GET QPS
0.943 msLavik GET p99.9

At 320 connections, Lavik serves 652,881 GET QPS at 0.943 ms p99.9; Garnet 2.2.1 serves 253,433 at 7.167 ms. SET is 701,241 versus 668,406 QPS, with p99.9 of 0.959 versus 4.415 ms. Use the paired points to plan read-heavy services and refresh work.

1B keys · same 320 connections · 1 KiB values
OperationSystemQPSp99.9 (ms)Connections
GETLavik 0.2.0652,8810.943320
GETGarnet 2.2.1253,4337.167320
SETLavik 0.2.0701,2410.959320
SETGarnet 2.2.1668,4064.415320

Matched-concurrency comparison. The full report also plots throughput and tail latency across 160–1,280 connections.

Test method and full results

October 21–22, 2026: one billion 1 KiB values, 16 vCPUs, six NVMe SSDs, 32 client threads, pipeline 1 and 60-second windows. The displayed comparison uses 320 connections. Garnet leads GET at 160 connections; Lavik leads the full-sweep GET and SET peaks. Memory budgets, warmups and persistence differ; use the full report for the 160–1280 connection curves.

Raw measurements & checksums ↗

Results are single-server observations with the report’s cache, warmup and persistence settings. Node calculations assume balanced sharding and reusable per-node throughput; set production headroom from your workload and failure tests.

Charts, configurations and full reproduction steps →

What the storage design changes

Garnet’s log-structured storage and Lavik’s NVMe storage engine make different choices about indexing, caching and data organization. Lavik couples worker-owned state with asynchronous I/O and grouped storage for large Redis objects.

Use Lavik when large-dataset reads and predictable read latency are central to the application. Check the same read distribution and command mix at the full retention size.

Lavik storage and large-object design →

Plan fewer nodes for the workload

More requests per primary can mean fewer nodes serving the same dataset. Calculate with your target QPS, capacity, replicas and node prices.

ILLUSTRATIVE MODEL · EDIT THE ASSUMPTIONS

Same dataset. Same target QPS. How many nodes?

Defaults assume 1 TiB of values, 1 TiB usable value capacity per primary, 1 million QPS, 70% of observed throughput, two complete copies, and $1,000 per node per month. Both node prices are editable.

Planning estimate assuming linear scaling
SystemSelected QPS / p99.9Primaries / total nodesAssumed monthly cost
Lavik SPDK652,881 / 0.943 ms3 / 6$6,000
Garnet253,433 / 7.167 ms6 / 12$12,000

Primaries = max(⌈data / usable capacity⌉, ⌈target QPS / (observed QPS × utilization)⌉)

Total nodes = primaries × copies; monthly cost = total nodes × node price. Replicas contribute no extra serving QPS here. Assumes balanced sharding, linearly reusable per-node performance, usable capacity after space/metadata reserves, and sufficient RAM for indexes and buffers; changing per-node data size can change throughput. Replication overhead, post-failure headroom, networking and backups are not modeled. The p99.9 filter selects observed points; it does not establish a cluster or application SLA, especially P99.99.

Start the migration with one dataset

Run the read/write mix that drives your production bill. Measure both tail latency and throughput, include background maintenance, and translate the accepted point into server and replica requirements.

The migration guide documents Redis and Redis Cluster sources. For another Redis-compatible product, confirm that RedisShake can read its RDB and replication stream before rehearsing full and incremental synchronization.

  1. Install and start Lavik 0.2.0
  2. Connect your client
  3. Check RedisShake source requirements and cutover steps

Questions before you start

How can using fewer servers reduce cost?

If capacity is already sufficient, serving more requests per primary can reduce the number of primaries required for a target QPS. The model below includes usable capacity, headroom, replicas and node prices; it is a planning calculation rather than a measured cluster result.

Do I need a new client protocol?

No. Lavik supports RESP2 and RESP3. Check your application’s operations against the 0.2.0 command reference and client-library guide, then follow the RedisShake migration guide for Redis-source transfer and cutover. For other products, first confirm that RedisShake supports the source RDB format and replication stream.

How do I start?

Install the Lavik 0.2.0 binary package, connect your client, and load a representative dataset. The quick start, operations and monitoring guides take you from first launch to daily management.

References and test configurations