Tarantool combines an in-memory database with a Lua app server for low-latency transactional and analytical workloads near data.
Overview
Tarantool is an in-memory computing platform pairing a database with an application server. The database extension can be disabled, but the default bundle keeps compute close to stored data for queue services, caches, and stateful web components.
The application server offers an optimized Lua interpreter with a tracing JIT based on LuaJIT, cooperative multitasking, non-blocking IO, persistent queues, sharding, cluster management, and connectors to MySQL and PostgreSQL. Built-in and standalone modules extend behavior.
The database speaks MessagePack on the wire, provides in-memory and LSM-tree storage engines, multiple index types including JSON path indexes, asynchronous and synchronous replication, RAFT leader election, authentication, and ANSI SQL with views and constraints. Language connectors are available for many programming environments.
Supported deployment targets include Linux on x86_64 and aarch64, macOS on x86_64 and Apple Silicon, and FreeBSD on x86_64. Binary packages and Docker images are documented for installation, with source build instructions in official documentation.
Key features
- In-memory and LSM storage
- LuaJIT application server
- MessagePack client protocol
- Master-master replication
- Synchronous quorum replication
- Sharding and queue modules
- ANSI SQL with views
- MySQL and PostgreSQL bridges
Use cases
- Low-latency OLTP workloads
- In-memory queue brokers
- Profile and session caches
- Event stream processing