When your business project continues to grow, you have more data. Increased data means increased workload. At some point, the server can no longer cope with it, and the requests are taking more and more time to process. A logical way out seems to scale.
Cartridge is a new framework for scaling a Tarantool database. With Cartridge, you create multiple copies on different servers or split data among several Tarantool nodes. Cartridge allows you to create and configure clusters from multiple Tarantool instances.
In just a few clicks, you can create a new replica or connect an additional server in the web interface, provided that the server is already up and running. Cartridge will distribute the data evenly and balance the workload. It provides automatic failover as well. If any node fails, Cartridge switches the workload to a replica.
Roles help you extend the functions of your application. For each task, we recommend a dedicated role, which is responsible for some part of your business logic. You can manage scaling more efficiently by assigning a separate node for each role.
Cartridge uses the CPU capacities of multiple servers and automatically switches among them. This increases the fault tolerance of the entire system.
You can work just as fast when deploying the development environment in a single Docker container or creating geographically distributed clusters on both physical and virtual servers.
Configure the topology, monitor errors, and manage users via the web interface or API. Save time with a browser-based code editor.
Cartridge simplifies all the stages of your application’s lifecycle: creation, development, testing, CI/CD, operation.