In July of 2020, Joran Dirk Greef stumbled into a fundamental limitation in the general-purpose database design for transaction processing. This sent him on a path that ended with TigerBeetle, a redesigned distributed database for financial transactions that yielded three orders of magnitude faster OLTP performance over the usual (general-purpose) suspects.
On this episode, Joran joins Jerod to explain how TigerBeetle got so fast, to defend its resilience and durability claims as a new market entrant, and to stake his claim at the intersection of open source and business. Oh, plus the age old question: Why Zig?
Joran Dirk Greef: So you can actually have a business and sell something thatâs gonna make something cheaper for startups. And similarly for enterprise, you can have a business and sell something that is going to provide the value they need, which is - now, they might have SRE teams, but they need the infrastructure to support massive scale, like Petabytes. How do you connect TigerBeetle to object storage S3. Like, OLTP data lake; not only OLAP data lake, but letâs just connect the OLTP direct to S3.
And so this comes to your question about the tug of war, and licensing, and all of this. And I think the big mistake that we can make - and I used to make this until it became clear for me that third moment - was that an open source license affects the implementation, not the interface. But when it comes to competition in the business world, that doesnât happen at the implementation. Typically, it happens at the interface. So if you think of like some of the fiercest competition, when things were really on a knifeâs edge for the web, it was the interface, not the browser implementations. It was the interface that the war was fought. Mozilla fought that war, and we needed other browsers to fight it, because the interface was being embraced, extended and extinguished. Triple E. And then you think of like Android, and Java, and again, it wasnât about the Android implementation, it was the interface. And that was that Oracle/Google lawsuit, you know? And then again, you think of like âWell, Confluent ââ Kafkaâs Apache 2.0 open source.
Then Red Panda came along - and Iâm a huge fan of Red Panda, because very similar design decisions around being direct with the hardware, static communication⌠All of this very, very similar. We came from a similar time period, but in that time period the things were changing, how you built things. But Red Panda came along and they saw the open source implementation of Kafka and said, âWell, thank you, but we donât want it. But that interface, that is great. Thatâs where our business will be also. That interface, thank you very much.â And so they built a massive high-performance implementation.
And then WarpStream came along and they said, âWell, Red Panda, you are business source license, not open source source available. Confluent or Kafka, you are Apache 2.0 open source.â But thatâs all implementation. Iâm gonna do my own implementation, thank you very much, of object storage. But the interface - great. Okay, now weâre all competing. And so I think the myth is that source available was kind of the thing that always â I always feel that something inside of me dies when I see a great company relicense, or when I see a young startup follow that lead. Because to me, source available says that âWe think itâs gonna stop competition.â It doesnât. You may as well be on the beach, building little moats and sandcastles, but innovation technology is like a wave. Itâll just find a way around you. Itâll WarpStream around you. You canât legislate competition away. And we shouldnât be trying to build companies where we think the success of the company is us creating a monopoly. The worldâs too big. Thereâs too much for you to be â you donât need monopolies to do really great. And that doesnât build trust, to say to your customers âYou can only buy from me.â
So I think people think it stops competition, and they think it helps them sell, and it actually defeats both of those, because you get complacent, and you actually fail to build trust. So you burn trust when you relicense, and if you start source available, youâre gonna be doing diligence with enterprising and say âSorry, youâre not open source.â Itâs license confusion, you know. And maybe some people get it, but thereâs a little 1% headwind. And itâs actually - itâs a category error, because youâre spending so much effort chatting to people about implementation licensing⌠And the rest of the world is competing on interface. And TigerBeetleâs interface is quite simple. Very simple.
[01:24:30.17] So we could â I donât know, whatever license we apply, it doesnât matter. Debit/credit is where we compete. There are companies that offer debit/credit as an API and itâs very similar to TigerBeetle. But we compete on trust. We didnât just take a general purpose database and slap on debit/credit. We went deep; we really cared and we built the whole thing.
And people pay us. So before we were a company, we had an energy company reach out and we landed quite a good contract, very quickly. And I think it came down to trust. So open source builds trust. So open source is great for business. Itâs also orthogonal.
I think the other thing is if you â so thereâs a lot of things in TigerBeetle that are like the⌠I had done many experiments of my own, my passion projects. Theyâre all in TigerBeetle. Many parts of the design of TigerBeetle come from these various experiments that I did. And so I was never going to put that all into a project if itâs not open source, because itâs just too valuable. I want to always be able to play with it no matter what happens to it. And I think we all feel like that, like our critical infrastructure just has to be open source. So yeah, I think thatâs kind of how I think of it.