# TigerBeetle: The Financial Transactions Database for Mission-Critical Systems

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/tigerbeetle-tigerbeetle
Generated for open source discovery and AI-assisted research.

TigerBeetle is a high-performance financial transactions database designed for mission-critical safety and performance. Written in Zig, it aims to power the next 30 years of Online Transaction Processing (OLTP) with robust debit/credit primitives and global consensus protocols. This project offers a reliable and efficient solution for handling complex financial operations.

GitHub: https://github.com/tigerbeetle/tigerbeetle
OSRepos URL: https://osrepos.com/repo/tigerbeetle-tigerbeetle

## Summary

TigerBeetle is a high-performance financial transactions database designed for mission-critical safety and performance. Written in Zig, it aims to power the next 30 years of Online Transaction Processing (OLTP) with robust debit/credit primitives and global consensus protocols. This project offers a reliable and efficient solution for handling complex financial operations.

## Topics

- database
- financial
- transactions
- oltp
- high-performance
- zig
- distributed-systems

## Repository Information

Last analyzed by OSRepos: Mon Oct 27 2025 20:01:24 GMT+0000 (Western European Standard Time)
Detail views: 4
GitHub clicks: 2

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction
TigerBeetle is a cutting-edge financial transactions database engineered for unparalleled safety and performance. Designed to power the next generation of Online Transaction Processing (OLTP) systems, it provides robust debit/credit primitives and a resilient architecture for mission-critical financial operations. Written in Zig, TigerBeetle focuses on delivering extreme reliability and speed.

## Installation
Getting started with TigerBeetle is straightforward. You can run a single-replica cluster on Linux (or other supported platforms) by following these steps:

console
$ curl -Lo tigerbeetle.zip https://linux.tigerbeetle.com && unzip tigerbeetle.zip
$ ./tigerbeetle version
$ ./tigerbeetle format --cluster=0 --replica=0 --replica-count=1 --development 0_0.tigerbeetle
$ ./tigerbeetle start --addresses=3000 --development 0_0.tigerbeetle


## Examples
Once your TigerBeetle cluster is running, you can connect to it and perform financial transfers. Here's an example of creating accounts and making a transfer:

console
$ ./tigerbeetle repl --cluster=0 --addresses=3000
> create_accounts id=1 code=10 ledger=700,
                  id=2 code=10 ledger=700;
> create_transfers id=1 debit_account_id=1 credit_account_id=2 amount=10 ledger=700 code=10;
> lookup_accounts id=1, id=2;
{
  "id": "1",
  "user_data": "0",
  "ledger": "700",
  "code": "10",
  "flags": "",
  "debits_pending": "0",
  "debits_posted": "10",
  "credits_pending": "0",
  "credits_posted": "0"
}
{
  "id": "2",
  "user_data": "0",
  "ledger": "700",
  "code": "10",
  "flags": "",
  "debits_pending": "0",
  "debits_posted": "0",
  "credits_pending": "0",
  "credits_posted": "10"
}


## Why Use It
TigerBeetle stands out as an ideal choice for financial applications requiring absolute data integrity and high throughput. Its design prioritizes mission-critical safety, ensuring that financial transactions are handled with precision and reliability. Leveraging the performance characteristics of the Zig language, it offers exceptional speed for OLTP workloads. If you're building systems where every transaction counts and performance is paramount, TigerBeetle provides a robust and scalable foundation.

## Links
*   **Official Documentation**: <https://docs.tigerbeetle.com> (opens in a new tab)
*   **GitHub Repository**: <https://github.com/tigerbeetle/tigerbeetle> (opens in a new tab)
*   **The Primeagen Video Introduction**: <https://www.youtube.com/watch?v=sC1B3d9C_sI> (opens in a new tab)
*   **Redesigning OLTP for a New Order of Magnitude (QCon SF) Talk**: <https://www.infoq.com/presentations/redesign-oltp/> (opens in a new tab)
*   **Slack Community**: <https://slack.tigerbeetle.com/join> (opens in a new tab)