Tarantool keeps all the data in random-access memory (RAM). Solutions of this class are fast, but they often lack data persistence. Tarantool solves this problem. Leave a request and we will tell you about the advantages of Tarantool
In-memory solutions are very fast because they work in RAM. This helps you avoid overhead associated with caching and reading from disk. Plus, the memory-resident approach reduces TCO—the database utilizes the processor more efficiently, so you need fewer servers. There are four main cases where an in-memory database is a good fit for application development:
Order a demo from
our experts
Working in RAM doesn't mean that you risk losing all your data. Tarantool has embedded mechanisms that ensure data safety.
Tarantool in-memory engine uses write-ahead logging. The transaction result returns only after it's been saved to disk. Even an unexpected server restart wouldn’t cause data loss.
When a disk or a server fails, replication helps prevent data loss.
In Tarantool, the replication lag is typically 100–200 microseconds, which is equal to network latency and virtually reduces the probability of data loss to zero. You can configure synchronous replication only for critical data in specific tables for a full guarantee of persistence.
ACID stands for atomicity, consistency, isolation, and durability. In-memory databases often sacrifice durability. This is related to the very principle of RAM storage, which carries the risk of losing some information in case of failure or restart. To minimize this risk, Tarantool uses the following:
Built-in clustering helps you make multiple copies on different servers or split data across multiple nodes.
With three clicks in the web interface, you can make a new replica or connect an additional server.
Data distribution, load balancing, and failover are automatic. If one node fails, the load is automatically transferred to the replica.
Tell us about your tasks, and we will build
a solution for you on Tarantool
Tarantool experts will
contact you shortly