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.