In-memory database with a built-in Lua application server
open coreBSD-2-Clauseself-hostablefree
Tarantool is an in-memory computing platform: a database and an application server in one process, with stored logic written in Lua and run by a LuaJIT-based interpreter. The database keeps data in memory with write-ahead-log persistence, or on disk in its own LSM-tree engine, uses MessagePack for data and its protocol, and has hash, tree, R-tree and bitset indexes, JSON path indexes, ANSI SQL, asynchronous master-master and synchronous Raft-based replication, and sharding. Its makers sell Tarantool Enterprise Edition, with tools for administration and deployment.
Problems it solves
- keep hot data in RAM with persistence and run business logic next to it
- an in-memory database faster than Redis that also supports SQL and transactions
- shard a high-load key-value store across servers with automatic leader election
Features
- In-memory engine with WAL persistence
- LSM-tree disk engine for large data sets
- Lua application server with LuaJIT
- ANSI SQL
- Asynchronous and synchronous (Raft) replication
- Sharding with vshard
- Persistent queues
Ways to run it
Alternatives
The same job
These do what Tarantool does.
- Redis The preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine
- Apache Ignite Distributed database with in-memory speed: SQL, key-value, transactions and compute
- Dragonfly The world's most efficient in-memory data store
- Valkey An open source (BSD) high-performance key/value datastore
- KeyDB A multithreaded fork of Redis, no longer maintained
