
CCO at @tigerbeetledb | 1000x faster OLTP for the next 30 years | đ°đ·đșđž Sales Coach | Co-Host Decoding Sales | Author, "Unlocking Authentic Sales"
San Diego, CA
Joined April 2009
- Tweets1.3K
- Following455
- Followers833
- Likes1.7K
đŹđ§ London last week was a dream!
Another @TigerBeetleDB adventure in the books đ Thank you to all my new and old friends who took the time to connect and spend some quality time together â€ïžâđ„
Be back soon Big Ben!
Peter Ahn retweeted
Just use TigerBeetleâŠ
Recently I interviewed a Senior Engineer.
Strong candidate.
Kafka? â
Redis? â
Microservices? â
Distributed systems? â
Then I asked:
"You're building the inventory service for a flash sale.
Only 1 item left in stock."
Two users hit âBuy Nowâ at the exact same millisecond.
Both requests pass the âis available?â check.
Both create an order.
Both deduct stock.
Now youâve sold 2 items when only 1 existed.
How do you guarantee you never oversell â even with concurrent requests, client retries, and partial failures?
"Just use a database transaction."
Doesnât fully solve it if both requests read `stock = 1` before either writes, or if the response is lost and the client retries.
"Check stock before deducting."
What happens when both checks happen at the same time?
"Use Redis DECR and reject if it goes negative."
What happens if Redis is down, or the decrement succeeds but the order is never persisted?
Your turn:
How would you design this inventory reservation API so concurrent buyers and retries never oversell the last item?
Thereâs a specific distributed-systems concept behind this.
And youâll encounter it everywhere inventory, tickets, seats, coupons, and limited resources are involved.
Peter Ahn retweeted
Yeah this only just clicked for me yesterday. It is beautlful once you see it, very elegant!
Peter Ahn retweeted
Replying to @infogulch
The key/value string workload of a general purpose (OLGP) âsystem of referenceâ like Postgres is easy to scaleâŠ
âŠonce you offload the read-modify-write hot integer workload to a transaction processing (OLTP) âsystem of recordâ like TigerBeetle.
But you also get good architectural principles like âseparation of concernsâ.
Peter Ahn retweeted
đ„
"Those who would trade essential safety for a little performance, deserve neither safety nor performance" - Ben Franklin.
"Give me strict serializability or give me death" - @jorandirkgreef @TigerBeetleDB
Peter Ahn retweeted
I got into database design thanks to systems like ZFS and Redis.
And I remember when Antirez was âstaring down the barrelâ of building a storage engine for Redis, and then walked away (wisely I believe) from that at the time.
But for transacting processing (and for TigerBeetle), I would say âsafety is never a tradeoff, but rather a move from local maximum to global maximumâ.
Itâs not XOR (as humans we tend to think too much in terms of XOR instead of OR).
If you can apply first principles, to move from local maximum (how things have always been done) to global maximum (the physics optimal way that things should be done) then you get both safety and performance, as was our experience in TigerBeetle.
As Jim Gray would say: âcorrect AND fastâ.
Peter Ahn retweeted
The hardest problem in distributed systems (and database design) is hot rows.
In other words, serialization w.r.t. data accesses while preserving application correctness (e.g. ACID).
But hot rows is also what separates (and accelerates) TigerBeetle from most systemsâŠ
Even if your database is infinitely fast and infinitely parallel you canât hack your way around network round-trip time and contention, where multiple transactions force you to lock your hot rows.
This is Amdahlâs law applied to transaction processing and itâs why even at just 10% contention, your throughput drops not by 10%, but 10X.
@jorandirkgreef describes this fundamental flaw in the SQL transaction interface đ
@TigerBeetleDB #OLTPforthenext30years
Even if your database is infinitely fast and infinitely parallel you canât hack your way around network round-trip time and contention, where multiple transactions force you to lock your hot rows.
This is Amdahlâs law applied to transaction processing and itâs why even at just 10% contention, your throughput drops not by 10%, but 10X.
@jorandirkgreef describes this fundamental flaw in the SQL transaction interface đ
@TigerBeetleDB #OLTPforthenext30years
"Those who would trade essential safety for a little performance, deserve neither safety nor performance" - Ben Franklin.
"Give me strict serializability or give me death" - @jorandirkgreef @TigerBeetleDB
While SQL is a great query language, âitâs a dangerous boundary for transaction processingâ
"A safe interface designs for safety, even where users are untrusted"
- @jorandirkgreef @TigerBeetleDB
#safeinterface #OLTPforthenext30years
ââYou canât cache or mess up the numbersâ with OLTP.
When your workloads have different shapes, separation in your architecture matters.
Love this excerpt from @jorandirkgreef's âMission Criticalâ tech talk where he articulates how @TigerBeetleDB as your âbank vaultâ works alongside your âfiling cabinetsâ (OLGP) and âback officeâ (OLAP).
#30yearsofOLTP
Peter Ahn retweeted
High-Throughput OLTP in Three Simple Steps
In which @Tobias__Ziegler and @maxikuschewski illustrate how to optimize TigerBeetle performance with an all-time favorite transaction-processing workloadâŠ
tigerbeetle.com/blog/2026-09âŠ
ââIf you see your software as mission critical, then even if it's not, you'll ship sooner, safer, faster.â - @jorandirkgreef
Itâs been almost two months since Joran gave his closing tech talk at Systems Distributed in Boston this year.
There are countless golden nuggets peppered throughout the talk so over the coming weeks Iâll be sharing some of my favorite moments starting with this intro from our Maestro and Chief đ·


















