What is TigerBeetle?
TigerBeetle is a distributed financial transactions database designed for mission-critical safety and performance to power the next 30 years of Online Transaction Processing (OLTP). Written in Zig, it delivers 1000x faster performance than traditional databases while maintaining strict serializability and indestructible durability.
β‘ Key Features of TigerBeetle
π 1000x Faster OLTP
Purpose-built for transaction processing with 100K-500K TPS throughput and predictable low P100 latency. Executes thousands of transactions in a single query with zero lock contention.
π° Debit/Credit Strict Consistency
Enforces double-entry accounting with strict serializability by default. Every debit has an equal and opposite credit, guaranteed by the database with no anomalies or caveats.
βοΈ Multi-Cloud High Availability
Runs across AWS, GCP, and Azure simultaneously with Viewstamped Replication (VSR) consensus. Automated failover and flexible quorums ensure uninterrupted transaction processing.
π‘οΈ Indestructible Durability
Replicated write-ahead log with end-to-end 128-bit checksums and protocol-aware recovery. Survives disk corruption, misdirected I/O, and even helical fault injection.
π― Universal Schema
Debit/credit model with accounts and transfers provides a minimal and complete schema for any exchange of value across any domain - from banking to gaming to energy.
π¬ Extreme Engineering
TigerStyle methodology applies NASA's Power of 10 Rules with static allocation and 6,000+ assertion tripwires. Deterministic simulation testing runs 2000 years of faults every 24 hours.
π Performance Benchmarks
- 100K-500K TPS: Sustained throughput under 90% contention
- 100ms P100 Latency: Predictable tail latencies at peak load
- 100B+ Transactions: Store billions in one cluster with tiered storage
- 1B+ Accounts: Scale to billions of accounts with 20+ indexes
- 6 Replicas: Replicated, never partitioned for maximum consistency
apt upgrade keeps you on the latest version.
π¦ Installation from deb.griffo.io
Step 1: Add Repository
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt updateπ There is an always-free mirror. deb-free.griffo.io serves packages free forever β no account, no subscription, at most 2 months behind upstream, security fixes immediately. It currently carries Ghostty, Oh My Posh and Zed; TigerBeetle is not one of them, so the repository above is the only way to get it today β ask and it can be enrolled.
Step 2: Install TigerBeetle
# Install latest TigerBeetle
sudo apt install tigerbeetle
# Verify installation
tigerbeetle version# Install latest TigerBeetle
apt install tigerbeetle
# Verify installation
tigerbeetle versionπ― Quick Start Example
Create and start a TigerBeetle cluster:
# Format a data file for replica 0
tigerbeetle format --cluster=0 --replica=0 --replica-count=1 0_0.tigerbeetle
# Start the replica
tigerbeetle start --addresses=3000 0_0.tigerbeetleBasic usage with Node.js client:
const { createClient } = require('tigerbeetle-node');
const client = createClient({
cluster_id: 0n,
replica_addresses: ['3000']
});
// Create accounts
const accounts = [{
id: 1n,
ledger: 1,
code: 1,
flags: 0,
}];
await client.createAccounts(accounts);
// Create transfers
const transfers = [{
id: 1n,
debit_account_id: 1n,
credit_account_id: 2n,
amount: 100n,
ledger: 1,
code: 1,
}];
await client.createTransfers(transfers);π Why Choose deb.griffo.io?
- Official Ubuntu: TigerBeetle not available in official repositories
- Manual Download: Weekly releases require manual updates
- Docker Only: Limited to containerized deployments
- deb.griffo.io: Latest version with automatic updates
- β Latest Performance: Get newest optimizations and features immediately
- β Weekly Updates: Packages updated within hours of upstream releases
- β Native Installation: No Docker required, runs directly on Ubuntu
- β Production Ready: Battle-tested with Apache 2.0 license
- β Multi-Distribution: Works on Jammy and Noble
- β Easy Maintenance: Standard apt commands for updates
π¦ Package Build Repository
The Ubuntu packages are automatically built and maintained in this GitHub repository:
- π― tigerbeetle-debian - Latest release builds
π Related Packages
Also available from deb.griffo.io:
- Zig Programming Language - TigerBeetle is written in Zig
- ZLS Language Server - For Zig development
- lazydocker - Docker management tool
π Support This Project
If this repository saves you time and effort, please consider supporting it!