¿Qué es 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 te mantiene siempre en la última versión.
📦 Instalación desde deb.griffo.io
Paso 1: Agregar repositorio
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 updatesudo apt install extrepo
sudo extrepo enable griffo
sudo apt update🆓 Existe un espejo gratis para siempre. deb-free.griffo.io sirve paquetes gratis para siempre: sin cuenta, sin suscripción, como máximo 2 meses por detrás del upstream, correcciones de seguridad inmediatas. Ahora mismo incluye cliamp, Ghostty, lazydocker, Oh My Posh y Zed; TigerBeetle no está entre ellas, así que hoy el repositorio de arriba es la única forma de instalarlo — pídelo y puede añadirse.
🧩 Sobre la opción extrepo. extrepo es la herramienta propia de Debian para repositorios externos: escribe el archivo de sources e instala la clave de firma por ti, comprobándola antes contra metadatos firmados. Este repositorio está registrado en ella como griffo, y el espejo gratuito para siempre como griffo-free, así que en Debian (bookworm, trixie, forky y sid) los comandos de arriba son toda la configuración.
extrepo solo configura el archivo de sources y la clave: las credenciales de una suscripción siguen yendo en /etc/apt/auth.conf.d/deb.griffo.io.conf. Ubuntu no está cubierto, porque extrepo publica metadatos solo para las suites de Debian: allí usa los comandos con sudo o como root.
Paso 2: Instalar TigerBeetle
# Install latest TigerBeetle
sudo apt install tigerbeetle
# Verificar instalación
tigerbeetle version# Install latest TigerBeetle
apt install tigerbeetle
# Verificar instalación
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);🚀 ¿Por qué elegir deb.griffo.io?
- Official Debian: 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 en Debian
- ✅ Production Ready: Battle-tested with Apache 2.0 license
- ✅ Multi-Distribution: Works on Bookworm, Trixie, and Sid
- ✅ Easy Maintenance: Standard apt commands for updates
📦 Repositorio de construcción de paquetes
Los paquetes de Debian se construyen y mantienen automáticamente en este repositorio de GitHub:
- 🐯 tigerbeetle-debian - Latest release builds
🔗 Paquetes relacionados
También disponible desde deb.griffo.io:
- Zig Programming Language - TigerBeetle is written in Zig
- ZLS Language Server - For Zig development
- lazydocker - Docker management tool