Nanolat

discontinued

by Nanolat · since 2012 · also known as Nanolat Database, NLDB

Abandoned C++ in-memory key-value server with rank queries and log replication over InfiniBand.

key-valuedatabase engineopen source (permissive)legacy

discontinued. No commits since April 2014 and the project site is gone. Redis or Valkey sorted sets cover its leaderboard use case.

Overview

Nanolat Database (nldb) was a C++ in-memory key-value server from a small Korean project, aimed at game leaderboards, trading front ends and monitoring systems that need microsecond latency. Besides put, get and delete it offered cursor range scans and lookup by rank (for example, fetch 100 keys starting at the 1,000th), transactions, and master-slave replication that shipped the transaction log to a replica over InfiniBand or 10GbE instead of flushing it to local disk. Storage was pluggable through table plug-ins, with LevelDB and Tokyo Cabinet as back ends. The repository was last updated in April 2014 and the nanolat.com domain no longer hosts the project; Redis sorted sets cover the leaderboard case today.

Strengths & trade-offs

Strengths

  • +Rank-based key lookup built in, a natural fit for leaderboards
  • +Low-latency replication by shipping logs over InfiniBand
  • +Pluggable storage via LevelDB and Tokyo Cabinet back ends

Trade-offs

  • −Abandoned since 2014; built against gcc 4.6/4.7-era toolchains
  • −Tiny user base and sparse documentation

Great for

  • +Studying rank-indexed key-value designs
  • +Reference for log-shipping replication

Think twice for

  • −Production systems
  • −Anything needing maintained client libraries

Capabilities

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

✓Transactions
✓In-memory
✓Durable persistence
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–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
None
Multi-region
No
Transactions
Limited ACID
Consistency
Strong
Schema
Schemaless
Architecture
In memory, Primary replica
Query languages
Key-value API

Single master with log-shipping replicas.

Deployment

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

Ecosystem

apis & protocolsC++ API
client languagesC++

Alternatives to Nanolat

Compare all→
RedisKey-Value84.3

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

nanolat vs redis →
ValkeyKey-Value58.0

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

nanolat vs valkey →
LevelDBKey-Value33.4

Google's original small, fast LSM key-value library, now in limited-maintenance mode.

nanolat vs leveldb →
RocksDBKey-Value48.2

Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.

nanolat vs rocksdb →
GigaSpaces XAPObject4.4

GigaSpaces' Java in-memory data grid with space-based processing, SQL queries and tiered storage.

nanolat vs xap →
Apache IgniteKey-Value28.3

A distributed, memory-first SQL database and compute grid; Ignite 3 rebuilt it around Raft and Calcite.

nanolat vs apache-ignite →

Nanolat FAQ

What is Nanolat?

Nanolat is a key-value database by Nanolat, first released in 2012. Nanolat Database (nldb) was a C++ in-memory key-value server from a small Korean project, aimed at game leaderboards, trading front ends and monitoring systems that need microsecond latency. Besides put, get and delete it offered cursor range scans and lookup by rank (for example, fetch 100 keys starting at the 1,000th), transactions, and master-slave replication that shipped the transaction log to a replica over InfiniBand or 10GbE instead of flushing it to local disk. Storage was pluggable through table plug-ins, with LevelDB and Tokyo Cabinet as back ends. The repository was last updated in April 2014 and the nanolat.com domain no longer hosts the project; Redis sorted sets cover the leaderboard case today.

Is Nanolat open source?

Yes. Nanolat is open source. License: Apache License 2.0.

Does Nanolat support ACID transactions?

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

Does Nanolat scale horizontally?

Nanolat does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run Nanolat?

You can self-host it.

What is Nanolat best for?

Nanolat is a strong fit for studying rank-indexed key-value designs and reference for log-shipping replication. Think twice for production systems.

What are the best alternatives to Nanolat?

Common alternatives to Nanolat include Redis, Valkey, LevelDB, RocksDB and GigaSpaces XAP. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Nanolat still maintained?

Nanolat is discontinued. No commits since April 2014 and the project site is gone. Redis or Valkey sorted sets cover its leaderboard use case.

How popular is Nanolat?

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