June 20241:02:5318.4k views

Production SQLite with Turso and libSQL

About

In this interview, we dive deep into the fascinating journey of Glauber Costa, the CEO of Turso, as he shares insights into forking SQLite into libSQL, the challenges faced, and the innovative developments in the world of database technology. We also explore the introduction of vector search capabilities in libSQL and discuss the future of database systems in the AI era.

Transcript

Everything we said

00:01

Aaron Francis

All right. We are, uh, back into... I, I don't know if to call this a podcast 'cause there's actually no podcast. These just go on my, on my YouTube channel. But I've been talking to a lot of people in the SQLite world. Um, and now we get to talk to the CEO of Turso. Um, so-

00:16

Glauber Costa

Here I am

00:17

Aaron Francis

... Glauber, Glauber Costa is here with me today, and we're gonna ask, uh, a, a lot of questions about SQLite and LibSQL. But Glauber, do you wanna introduce yourself first?

00:27

Glauber Costa

Aaron, thank you so much for having me. What a pleasure to be here. Uh, happy to introduce myself. I, I'm, I'm Glauber, uh, and I've been in the software space one way or another more or less unti- uh, since the year 2000. Uh, uh, that was when I started gett- getting interested in, you know, computers, software, things like that. In fact, the first code that I wrote that was not a Pascal code to calculate the date of Easter, 'cause that the kind of stuff we were learning at university- ...

00:55

uh, was, was PHP in 2002, uh, something like that. So I've done-

01:00

Aaron Francis

Yes

01:00

Glauber Costa

... uh, I've done, like way back then, um, everybody keeps telling me that PHP is nothing like what it used to, uh, and I'm just getting started, uh, understanding a little bit better of the modern PHP. But be that as it may, like the thing that really, uh, that really ticked my, uh, you know, and, and that I really liked was low-level systems programming.

01:19

Aaron Francis

Mm.

01:19

Glauber Costa

And I also took a very early liking to the then crazy idea of just write software and release it for free, uh-

01:28

Aaron Francis

Mm-hmm

01:28

Glauber Costa

... in open source licenses. You know, today this is how everybody does it. Back then it was this completely cuckoo idea. Uh, so the in- in the intersection of those things there is Linux. Uh, so when I, I was learning some C, so I started looking to the Linux kernel and trying to understand a little bit more how the operating systems work.

01:49

Uh, so I started contributing to the Linux kernel, uh, as a volunteer with... And when I say contributing to the Linux kernel, uh, don't think too much of me. Back then it was really some like tiny couple of things here and there. Uh, around 2004 and then in 2005, I just got hired by Red Hat. Uh, so I had a career doing this. I worked in a lot of things in the Linux kernel: storage systems, file systems, virtualization.

02:12

Virtualization was the largest part of, of my tenure.

02:15

Aaron Francis

Hmm.

02:16

Glauber Costa

And joined a startup in 2013 that initially was doing something related to operating systems but then pivoted to a database company, and that is Scylla today in the NoSQL pet-

02:27

Aaron Francis

Oh, yeah

02:28

Glauber Costa

... petabyte scale, uh, space. That is how I learned about databases. I didn't really have any exposure to databases before, neither, um, not as a user, by the way. So because I never really built applications except in the very early beginning, it was just like-

02:42

Aaron Francis

Mm-hmm

02:42

Glauber Costa

... working in the kernel, I was actually not a user of databases. I, I just did not know how to... I, I still don't know SQL that well, uh, although ChatGPT- ... knows it extremely well. So I rely on, on ChatGPT to help me, uh, whenever, whenever I do need. Uh, but for eight, for around eight years, so from 2013 to, uh, essentially 2021, I, I was at Scylla.

03:05

Uh, and here now I had a one-year stint at Datadog, uh, but clearly realized that Datadog was, by the way, a fantastic company. I appreciate them a lot, but I really like to be in small teams and building things and getting things done-

03:18

Aaron Francis

Mm-hmm

03:18

Glauber Costa

... from the ground up. Uh, so founded a startup, and here we are.

03:23

Aaron Francis

That is quite the journey. I'm glad to hear, I'm glad to hear you're one of us. You're a PHP enthusiast.

03:29

Glauber Costa

Yes.

03:29

Aaron Francis

Ms- forget you haven't touched it in 20 years-

03:31

Glauber Costa

Yeah.

03:32

Aaron Francis

... but you're a PHP enthusiast. We'll claim-

03:34

Glauber Costa

It's always a part of you

03:34

Aaron Francis

... we'll claim you nonetheless.

03:35

Glauber Costa

Yes. Yes.

03:36

Aaron Francis

Yes, exactly. And then, yeah, that's, uh, quite a journey from not being a database user to r- basically writing a database and now being a CEO of a database-

03:44

Glauber Costa

Well, uh-

03:44

Aaron Francis

... company. So-

03:45

Glauber Costa

You, you know Dax from Twitter?

03:48

Aaron Francis

Yeah, of course. Everybody knows Dax-

03:49

Glauber Costa

So-

03:49

Aaron Francis

... from Twitter

03:49

Glauber Costa

... ev- everybody knows Dax. So some people like him. I love him. Uh, you know, some people don't. But, like, uh, I, I was, I was talking to him the other day, and then he s- he was telling me that his career path was unorthodox because he learned-

04:01

Aaron Francis

Mm-hmm

04:01

Glauber Costa

... NoSQL before he learned SQL. And I said, "Dude, I wrote a NoSQL database before I learned any of them."

04:08

Aaron Francis

Yeah. Yeah.

04:09

Glauber Costa

So

04:09

Aaron Francis

Those are both pretty, pretty unorthodox.

04:11

Glauber Costa

Yeah.

04:11

Aaron Francis

I thought my path from being an accountant to a programmer was unorthodox, but I think writing a NoSQL database before learning, yeah, that's more unorthodox. So-

04:20

Glauber Costa

The lesson-

04:21

Aaron Francis

You kind of-

04:21

Glauber Costa

... the lesson here, the lesson here, Aaron, is that there is no orthodoxy, right? We're all, like-

04:26

Aaron Francis

That-

04:26

Glauber Costa

... we're all ca- carving our own paths

04:28

Aaron Francis

... is, yes.

04:28

Glauber Costa

Yeah.

04:28

Aaron Francis

That is the lesson here, um, and something I like about our industry, by the way. Um, so you caught us up to, um, you just, you left Datadog after a year wanting to, like, be on, on a smaller team. Um, and that was, I think you said 2021 or something. Um, so now we're in 2024. You're CEO of a company called Turso.

04:49

Glauber Costa

Turso.

04:49

Aaron Francis

Um, you have, uh, you're the steward of a SQLite fork called-

04:54

Glauber Costa

Mm-hmm

04:54

Aaron Francis

... LibSQL. So catch us up between 2021 when you, you're like, "I kinda wanna go be part of a smaller team," and how we got to-

05:01

Glauber Costa

Yeah

05:01

Aaron Francis

... forking SQLite.

05:04

Glauber Costa

Uh, so I always liked, uh, being in small teams, so that, that is something that was always something that I appreciated. A- and Red Hat became a massive company, but when I, when I joined Red Hat, it wasn't really. So when, when I joined Red Hat, I think it was around 500 people, which again, uh, it is plenty big, but if you would compare-

05:24

Aaron Francis

It's a lot, yeah

05:24

Glauber Costa

... if you would compare to the options, like I, I did an internship, so I did have like a small internship at IBM. Like, uh, there's no comparison, although now they're one and the same to some extent. Like, especially back then, like, uh, IBM had hundreds of thousands of people, and then you, you look at Google, Facebook, like those companies, they are hyperscalers. Uh, you, you have your headcount in hundreds of thousands.

05:46

And I never liked this very much because, uh, you, at this point, unless you're one of the top executives, which you don't start your career as, you are a cog in the machine, and I never-

05:55

Aaron Francis

Yes

05:56

Glauber Costa

... I, I always wanted to be a creative. I wanna- always wanted to be a person pushing things forward. So this thing about like, just go Do open source and do whatever you want was very attractive to me. And Red Hat-

06:07

Aaron Francis

Mm-hmm

06:07

Glauber Costa

... had a culture like that. Uh, when I left Red Hat, Red Hat was sort of something like 4,000 people, and it felt too-

06:13

Aaron Francis

Wow

06:13

Glauber Costa

... big for me, right?

06:15

Aaron Francis

Yeah.

06:15

Glauber Costa

So, so I always liked that. Uh, I just thought that I needed to just go at this point in my career to be in a large company like Datadog and see how it is, and there were a lot of things that I liked about it, not gonna lie. Uh, but Pekka and I, Pekka is my co-founder. Uh-

06:32

Aaron Francis

Mm

06:32

Glauber Costa

... and we always, even back then, like I know Pekka for 15 years, uh, his career path is pretty much almost exactly the same as mine.

06:39

Aaron Francis

Mm.

06:40

Glauber Costa

Uh, he, we worked together in the Linux kernel, and then we worked together at Scylla. Uh, we always wanted to start a company together, and we knew that like, uh, what do we wanna do? I don't know, but let's do it together. That, that, that was our mindset. I think pretty much like-

06:54

Aaron Francis

That's awesome. I love that

06:54

Glauber Costa

... like you and Steve. I mean, something that, that-

06:56

Aaron Francis

Yeah

06:56

Glauber Costa

... I appreciate a lot, seeing the dynamic that you have between you and Steve.

06:59

Aaron Francis

Mm-hmm.

06:59

Glauber Costa

Except that Steve sounds like a decent person. Pekka is a freaking asshole. I, I don't, I don't like Pekka very much. But, but, but the thing is like, you know-

07:08

Aaron Francis

I'm gonna have to get Pekka on next so he can defend himself.

07:11

Glauber Costa

Nah. No, uh but, but like, uh, we, we have this love/hate relationship that we w-

07:16

Aaron Francis

Oh, yeah

07:17

Glauber Costa

... we're always, we're always like that and always like, for some reason, we're always throwing punches at each other. Uh, but secretly he likes me. I mean, it's not mutual, but I think he likes me. But, but the, the-

07:27

Aaron Francis

No, no wonder you vibe with Dax from Twitter. Y'all, y'all have the same-

07:30

Glauber Costa

Uh

07:30

Aaron Francis

... the same funny, uh, sense of humor.

07:32

Glauber Costa

Hairstyle. It comes from the hairstyle.

07:34

Aaron Francis

Yeah.

07:35

Glauber Costa

But, but but be- but be that as it may, um, I think that by the end of 2021, we were both ready to embark on that journey.

07:46

Aaron Francis

Mm-hmm.

07:46

Glauber Costa

Uh, uh, when I left Scylla, which was, uh, beginning of 2020, late 2020, I wasn't really, and partially because you all remember what happened in 2020. Uh, I thought it was just a lot of risk to just go do a startup. I just had a, a kid, uh, uh, recently at the, at the time. I have three now. And the world was completely bananas.

08:08

We never, nobody knew what was going to happen. So I just felt like at that time, starting a company was not the best career path for me. Uh, maybe it would've been. I just couldn't take the risk. But l- late 2021, I think Pekka and I were both ready to do it. Uh, and initially Pekka was also not on board, but, uh, he came to a point that, that he was.

08:29

Uh, and then at the, in September 2021, we started this company, and the company was called Chisel Strike, uh, and was a project that was in the data space, but it was not a database. One of the things that Pekka and I were always talking to each other is like, uh, "Hey, we don't know, we just know that we're gonna start together. We don't know-

08:46

Aaron Francis

Mm-hmm

08:46

Glauber Costa

... what we're gonna do, but please let's not do another database company because that sounds insane." Uh, especially, especially after eight years of Scylla.

08:54

Aaron Francis

Mm-hmm.

08:54

Glauber Costa

Let me tell you, if you're listening to this and if you plan to start a database company, maybe don't, because, uh- ... it is really hard. It is, it is really hard. And, and the reason it's really hard is just there are so many... Like look, uh, i- if I may, if I may, I thought that databa- there were too many database companies.

09:16

Aaron Francis

Mm-hmm.

09:16

Glauber Costa

And because of that, I did not wanna start a database company. But then we, we got acquainted with the JavaScript ecosystem, uh, and the JavaScript framework. So you know, maybe starting a database is not that bad of an idea 'cause there are more, way more JavaScript frameworks than, than database companies.

09:32

Aaron Francis

It's true. It's true.

09:33

Glauber Costa

But we were using SQLite. Uh, we were using SQLite very, very heavily in our project. So the project was essentially, um, I think you could have, y- it was not our idea either, but it was fair looking back to frame it as a JavaScript framework-

09:48

Aaron Francis

Okay

09:48

Glauber Costa

... uh, to write data applications. So that was, that was the idea. And our idea was, look, embed SQLite to a runtime. So you would have something like Deno running with SQLite right there, and, and you go deeply in those technologies, change them if you need so that they essentially become one and the same. Uh, and then you can write type-

10:07

Aaron Francis

Mm

10:07

Glauber Costa

... you can just write TypeScript that is back, like persistent TypeScript. That, that was the idea. So you write an array, uh, and that array's persisted. You don't mess with databases. You don't do anything like that. So that was-

10:18

Aaron Francis

Sounds kinda cool

10:19

Glauber Costa

... essent- essentially the idea of the Chisel Strike project. So we started doing this. I mean, SQLite was the obvious choice for us because it's pretty much the only database that you can hit this level of integration with, with anything really. We did this for around a year, and in October, around September, so exactly one year, around September in 2022, we were growing frustrated because we saw a pile of bodies of people who tried to contribute code to SQLite.

10:51

One of them, and I don't know if you managed to hit the author of that, it would be a great guest for your podcast. I don't know them, but I've, I've, we, we read extensively on the internet about it. Uh, there is a project called DQLite-

11:02

Aaron Francis

Mm-hmm

11:02

Glauber Costa

... that were doing things very similar to what we wanna do because think about it, i- it's a, it's a Java, w- it was like a JavaScript system to write persistent applications.

11:11

Aaron Francis

Mm-hmm.

11:11

Glauber Costa

Then you need to deploy this thing in some- somewhere, and you need to distribute data. So one of the problems that we wanted to solve was how to do distribute data with SQLite, uh, at least something that scales horizontally. Uh, and the architecture that we had in mind was very much like what DQLite had, and then we saw that they'd actually tried to contribute all their code to SQLite, and the answer was just no.

11:36

Uh, not, not gonna happen because, you know, this power, this project is not open contribution. Which by the way, I wanna make it clear, I fully respect. Uh, I don't think they're doing anything wrong about that, which is a mis- I, I wanna clarify this point because this is something that I understand that some people has as a misconception that I-

11:55

Aaron Francis

Yeah

11:55

Glauber Costa

... don't like this. Now, this is not the way I would handle a project. I come from a different culture. I come from this background on the L- on the Linux kernel-

12:03

Aaron Francis

Mm

12:03

Glauber Costa

... where the L- Linux kernel was essentially this one big party in which Linus Torvalds essentially said, "This is never gonna run on anything but my PC." And then 30 years later, it powers everything because people came-

12:16

Aaron Francis

Mm-hmm

12:16

Glauber Costa

... with those requirements and said, "Let's stretch it in this direction and in that direction, in that direction." So this is how I've, I would run a project, but I don't think there's necessarily, uh... And there is, in fact, some merit to what SQLite does. And there are some be- almost everything in life, there are advantages and there are disadvantages. So y- you can't be too strict and say, "This is the way, this is not the way." Uh, but, but, but for us, we were really just like, "Look, uh, the changes that we wanna make to SQLite

12:46

are quite intr- they, they can get quite intrusive," especially like if we go-

12:50

Aaron Francis

Mm

12:50

Glauber Costa

... down this path, it, it, it can get quite intrusive down the line. I don't think we wanna be maintaining like just this private fork because there is a lot of problems with that as well. Like, there, there are trust issues 'cause b- then you're not running s- real SQLite and-

13:05

Aaron Francis

Mm. Yeah

13:05

Glauber Costa

... people wanna understand like, "So do I trust this thing? Do I don't trust this thing?" We also saw a lot of people who have done forks of SQLite before-

13:14

Aaron Francis

Mm

13:14

Glauber Costa

... uh, which by the way is my understanding that the author of SQLite at least externally encourages in the sense that you don't like it, just fork it, which is the open source way. I'm not saying that he's happy or unhappy about that, but you know, that, that seems to be the, the, uh, at least his stance it from, for what I'm seeing. We saw a lot of forks of SQLite that were just SQLite plus this one feature.

13:38

Aaron Francis

Mm.

13:38

Glauber Costa

So SQLite m- plus encryption, SQLite plus this, SQLite plus that. And this also didn't resonate well with us because, uh, that's not, you know, that's not how Pekka and I built communities in the past. Uh, and the number of people that you can find that are like SQLite, they're int- interested in this niche thing that you're doing is usually-

13:58

Aaron Francis

Mm-hmm

13:58

Glauber Costa

... pretty small. So we had this idea like what if we just fork SQLite as a whole-

14:05

Aaron Francis

Mm

14:05

Glauber Costa

... uh, and create the open contribution version of SQLite. And we did it. And it, the, the funny thing is that we had a... Pekka and I met... Th- th- this wasn't our first idea. Our first idea was let's rewrite this in Zig. Uh-

14:20

Aaron Francis

Of course

14:21

Glauber Costa

... and, and-

14:22

Aaron Francis

Of course.

14:23

Glauber Costa

Look, 10 years, 10 years, uh, ago, I think that is probably what we would have done.

14:30

Aaron Francis

Uh-huh.

14:31

Glauber Costa

Uh, but we're getting too old for this.

14:33

Aaron Francis

Yes.

14:33

Glauber Costa

It was like... Uh, Scylla, that's exactly how Scylla was born by the way, just rewrite a existing database in C++.

14:41

Aaron Francis

No way.

14:41

Glauber Costa

It w- yes. Uh, Scylla was a rewrite of Apache Cassandra in C++. Uh, that, that's how it started.

14:46

Aaron Francis

Huh, I didn't know that.

14:46

Glauber Costa

Yeah. With, with a different architecture and, and et cetera. And it's not that it doesn't work. I mean, it can work, but we just... I, I think we had PTSD through the experience.

14:56

Aaron Francis

Yeah.

14:56

Glauber Costa

Uh, there are a lot of problems. Like it, it... Scylla's, you know, it's been more than 10 years, almost 10 years now, and there are still some, some small compatibility issues, some things that work on Cassandra that don't work at Scylla-

15:08

Aaron Francis

Mm

15:08

Glauber Costa

... because you're gonna be chasing them forever. So, uh, we thought that, hey look, I mean, we, we are in a point of life that we just wanna ship stuff. We don't wanna spend like two years just writing something from the ground up. We've done it. Like, you know, just the... Uh, and then we don't wanna be chasing compatibility issues forever. Like so let's start-

15:26

Aaron Francis

Right

15:26

Glauber Costa

... let, let's just fork it, and then we add the stuff that... And then the second thing, it was like, okay, so what is the minimum amount of code that we need to write to show that, hey, this is a fork of SQLite and, and, you know, that's what this-

15:38

Aaron Francis

Mm-hmm.

15:38

Glauber Costa

So what, what are the things that we need to do to get people interested? Because we really wanted to create a community of people that would come and build with us. That was our main goal. I said, "If everything fails, but we build a community here of developers that are building this thing together, we succeeded," right? Just, uh... Now, my kids are not gonna like that I succeed like that 'cause I'm gonna be poor.

16:00

Uh, but at least, uh, you know, internally I'll be happy, or at least I can claim that, that I'll be happy. I don't know. And the answer to that question, what is the minimum amount of code that we needed to write to prove that, you know, and to show the direction that we wanted to take after maybe two or three days of deliberation, we got our answer.

16:26

The minimum amount of code was zero. We just did not write any code. Uh, we wrote a letter essentially saying, "This is what we intend to do." Uh, and we-

16:36

Aaron Francis

A manifesto.

16:37

Glauber Costa

Uh, pretty much a manifesto. And, and we did it on purpose because we, we thought that, hey, if we... I- i- it doesn't matter what we claim. If we write replication code, which we later did, we're gonna be known as the SQLite plus replication.

16:50

Aaron Francis

Right.

16:50

Glauber Costa

If we, if we write, uh, whatever, encryption code is yet another SQLite plus encryption.

16:56

Aaron Francis

Mm-hmm.

16:56

Glauber Costa

If you write this code, uh, we're gonna be associated with whatever the first thing it is that we put it out there. Uh, and, and look, the reason we're doing this really is that we wanna extend this thing in all possible directions and, and we wanna hear from the community, and we wanna give the community an opportunity to extend the way they like.

17:16

Aaron Francis

Mm-hmm.

17:16

Glauber Costa

So let's not write any code. Let's just write a manifesto and, and see what happens. If, if, if people hate it, they hate it. If people like it, they like it. Then, then, then we'll see what happens. Um, and then a lot of people on Hacker News actually accused us of being all talk and 'cause we didn't write any code and et cetera, but by and large, we had a positive reaction. And we got 1,500 GitHub stars in two weeks.

17:39

Aaron Francis

Wow.

17:39

Glauber Costa

And, you know, we decided eventually that, hey look, I mean, we don't really wanna run a donu- a database company because that sounds crazy. But it seem, it seems like there is a lot more here. And for comparison, Chisel Strike at the time had 1,000 GitHub stars after one year of work.

17:59

Aaron Francis

Mm.

18:00

Glauber Costa

Uh, and, and it's not that GitHub stars are the most important thing in the world, but they are a proxy for like the, the amount of interest that this thing generates- Uh, and 1,000 GitHub stars, I mean, a lot of projects will never hit it, so it's not even like a small number. It, it's a decent number for a company that has been doing this for a year. It, it's, it's plenty good. But we had in our hands, like, this project here, and, and then this other thing that we just released, and in two weeks, got 1,500 GitHub stars.

18:27

Like, which is-

18:27

Aaron Francis

Mm-hmm

18:27

Glauber Costa

... 50% more. So it's pure interest with no code changes. Uh, so the last part of the puzzle was, you know... And by now, that was already November. Uh, the last part of the puzzle was just Pekka and I say, "Okay, so what is the business here?" 'Cause we are, after all, a company.

18:44

Aaron Francis

Mm-hmm.

18:44

Glauber Costa

Uh, a fork of SQLite is not a business, so we need to figure out something that is a business. Uh, and then we came up with the idea of Turso. Uh, we coded a private beta of Tur- of, of what Turso is today, essentially between November and February, like December to February.

18:58

Aaron Francis

Mm.

18:58

Glauber Costa

Uh, put it out there, and the rest is history. It was a huge success.

19:03

Aaron Francis

So at that point, um, at that point, you guys... Was it just you and Pekka at that time doing, uh, Chisel Strike?

19:10

Glauber Costa

No, no, we had a, we had a... You know, uh, w- we had raised a fair amount of money, uh, and-

19:16

Aaron Francis

Okay

19:16

Glauber Costa

... we hired a, we hired a bunch of people, so there were a lot of... And there was a very uncomfortable time at the company, because nobody truly knew. And we were very upfront when we saw the, the results of that and say, "Hey, guys, look, I mean, just, uh, um, it feels to us like this is a better direction, but I don't think we're ready-

19:34

Aaron Francis

Mm-hmm

19:34

Glauber Costa

... to pull the trigger until we see a couple of more data points." Uh, so couple of engineers kept working on the Chisel Strike tasks that they had. I said, "I don't think we're ready." Uh, you know, it's also... We discussed. I mean, can we... Let's just get the whole company to come and, and do this new thing for three months-

19:52

Aaron Francis

Mm-hmm

19:52

Glauber Costa

... just to... But it can also be counterproductive, because none of us truly knew exactly what we wanted. So Pekka-

19:59

Aaron Francis

Mm

19:59

Glauber Costa

... and I really just had to sit down and say, "Okay, this is the direction that we figure out we wanna try to go." Uh-

20:06

Aaron Francis

Mm-hmm

20:06

Glauber Costa

... so we, it was not going to be very productive to just bring the whole crew anyhow. Uh, but it was a, an interesting transition period at the company, because people didn't really quite know-

20:15

Aaron Francis

Sure

20:15

Glauber Costa

... what was going on. But by February, I think it was obvious. It, it was fairly obvious. Because once more, in, in, in f- in February, we re- we put this landing page out that just said, "SQLite At The Edge."

20:29

Aaron Francis

Mm-hmm.

20:30

Glauber Costa

"Sign up here," and we got 500 emails, right? Just, uh, on, on a landing page like that. Uh, plus the GitHub stars and, and, and-

20:38

Aaron Francis

Right

20:38

Glauber Costa

... people, people started coming to the Discord community. So what, what more validation do we need, right? Just let, let's just-

20:45

Aaron Francis

Yeah

20:45

Glauber Costa

... pivot the whole company. So around that time, we just completely abandoned Chisel Strike and, and went all in on, on Turso.

20:51

Aaron Francis

Hey, I hope you're enjoying this. Just as a reminder, you can learn more about SQLite at highperformancesqlite.com. I'll get out of your way. Back to the interview. Okay. So you and Pekka and the company are working on Chisel Strike, which has some sort of dependency on SQLite.

21:11

Glauber Costa

SQLite, yeah.

21:11

Aaron Francis

And you're starting to look at, you're starting to look at SQLite, and you're like, "Man, this is kind of frustrating. We can't land-

21:17

Glauber Costa

Mm-hmm

21:17

Aaron Francis

... any of these changes that would make Chisel Strike faster, easier, better, possible-"

21:22

Glauber Costa

Yeah

21:22

Aaron Francis

... any of the above. Um, and so you're looking at SQLite, and you're like, "This is kind of frustrating that they're open, or they're source available, and not really open source." And like you said, that's neither here nor there, neither good nor bad. It is reality, though.

21:36

Glauber Costa

It is reality, yeah.

21:36

Aaron Francis

Like, if you're trying to land, if you're trying to land changes and you can't, well, then you're kinda hosed. And so you and Pekka are looking at it, and you're thinking, "There might be, there might be an opportunity to do this thing that we've never wanted to do, which is do a database." And so-

21:51

Glauber Costa

Yeah

21:51

Aaron Francis

... you, you fork the database. Uh, you fork SQLite, and you write a manifesto. And the manifesto-

21:56

Glauber Costa

Mm-hmm

21:56

Aaron Francis

... just sets out your vision, because the... If you can't sell the people on your vision, then there's no sense in spending all this-

22:03

Glauber Costa

Yeah

22:03

Aaron Francis

... time writing a code that people won't buy.

22:05

Glauber Costa

But, but that was still... The intention was not to pivot the company towards it, because, uh, the, the thought was, obviously, we wanna create a successful community, because everything you try to do, you should try to be successful at what you're doing.

22:17

Aaron Francis

Yes.

22:18

Glauber Costa

But, but our, our thinking was, I don't think there is... Long term, we'll be healthy at Chisel Strike, so that was still the main goal.

22:27

Aaron Francis

Mm-hmm.

22:27

Glauber Costa

We're not gonna have a healthy outcome running a specialized fork of SQLite. So our-

22:32

Aaron Francis

Mm-hmm

22:32

Glauber Costa

... we either abandon SQLite, which we didn't wanna do, because we really loved it, uh, or, or we try to create a community around this thing that will have all of those changes, because then the, then the, the credence comes from that community. So say, hey, I mean, just, uh-

22:50

Aaron Francis

Sure

22:50

Glauber Costa

... if we s- if we succeed to create a community here, uh, then, then Chisel Strike the project will benefit. So that was the goal. But in my mind, creating a community on this would take six months to a year, and it will be-

23:04

Aaron Francis

Mm-hmm

23:05

Glauber Costa

... a very slow process, and, and et cetera. Uh, and it wasn't what happened. So the, the, the huge success of, of the libsql fork was what led us to think, okay, so this thing was, is in fact so successful-

23:21

Aaron Francis

Mm

23:21

Glauber Costa

... that, that, um, maybe we should just do only that, and, and the rest of the thing that we're doing is, is not that important, right? This seems to be resonating a lot more.

23:31

Aaron Francis

Mm-hmm.

23:32

Glauber Costa

But it was not-

23:32

Aaron Francis

Okay. That makes sense

23:33

Glauber Costa

... our original intention. Yeah.

23:34

Aaron Francis

Yeah. So you, you had forked it to serve the needs of Chisel Strike, um-

23:38

Glauber Costa

Pretty much

23:39

Aaron Francis

... and then were surprised by the reception and thought-

23:42

Glauber Costa

Yeah

23:42

Aaron Francis

... "Hang on, this is getting more interest than our current product, so we should at least consider exploring what this looks like." And this is interesting, um, I think just as kinda like a side principle, uh, for people listening, that, like- Once you're in motion, things just happen-

24:02

Glauber Costa

Very likely

24:02

Aaron Francis

... and ideas just present themselves. And I feel like this is the same story as Tailwind. I mean, Adam Wathan was live streaming himself building out, um, a SaaS product that he was working on that was... He was gonna use to sell his info products. And while he was streaming, everybody was like, "Hey, what's that CSS library you're using?

24:22

Hey, what's that CSS library?" And he's like, "It's not a library. It's just this file that I have, I carry from project to project." And enough-

24:29

Glauber Costa

Mm-hmm

24:29

Aaron Francis

... people asked that he finally just was like, "Great, I'll package it up, and it's Tailwind." And now of course, we know Tailwind is an empire. And so I think it's-

24:37

Glauber Costa

Mm-hmm

24:37

Aaron Francis

... just so, like, it's such a good life lesson that once you get in motion, that just, that just begets more motion and, and more opportunities-

24:45

Glauber Costa

Yeah

24:45

Aaron Francis

... and more things that you can do, and I just love that that is your story as well.

24:49

Glauber Costa

It is. And you have to be paying attention and open to that change.

24:53

Aaron Francis

Mm-hmm.

24:53

Glauber Costa

Right? And, and it's also when you, when you tell the story, of course you're telling a sanitized version of the story. You don't, you don't put all the struggle that goes inside you. Uh-

25:03

Aaron Francis

Mm-hmm

25:03

Glauber Costa

... but if I, if I may be open about that, I mean, you, you, you do have that struggle because when you tell it, it, it sounds obvious. Oh, I had this sign and then that at, at that sign, but you also have doubts, right?

25:14

Aaron Francis

Yes.

25:14

Glauber Costa

Uh, it, it's something like, "Okay, so I've been building this thing for a year." Uh-

25:18

Aaron Francis

Mm-hmm

25:18

Glauber Costa

... and there is a, there is a community here which it, it, you know, dwarfs in comparison. I think Chisel Strike, the Discord channel at the time had 400 people. And after-

25:27

Aaron Francis

Mm-hmm

25:27

Glauber Costa

... a year of, of Chisel Strike Turso, today our Discord channel has 4,000 individuals-

25:33

Aaron Francis

Mm

25:33

Glauber Costa

... after the one year build. Now, after one year of building Turso, I can clearly look back and say, "Wow, that was definitely the right choice," but it didn't necessarily feel like it at the time.

25:43

Aaron Francis

Mm-hmm.

25:43

Glauber Costa

It was, it was a very scary choice, right? So was, uh, okay, so maybe this is, uh, uh, maybe we just got like a lot of people who are ready to press a button and, and say start, but does that mean that they're gonna use this thing? And, and right, just-

25:57

Aaron Francis

Right

25:57

Glauber Costa

... w- w- and at some point you have to take the plunge, but, uh-

26:00

Aaron Francis

Yeah

26:00

Glauber Costa

... that, that's essentially what happened to us.

26:02

Aaron Francis

Okay. So you, you and Pekka and the crew, you fork, uh, SQLite into Libsql. You write a manifesto, you get a ton of interest, and then you, like, decide to turn the ship. And so what is the first thing, uh, what's the first thing you and the gang put into Libsql? And did that, um, wa- did that come directly from y'all to serve the needs of Turso, or did you start by incorporating a bunch of, uh, like open PRs that were on SQLite that were never gonna be addressed?

26:29

Or what was the first move for Libsql after the manifesto hit and people are like, "Yeah, let's do it"?

26:35

Glauber Costa

Uh, there were no needs of Turso at the time, so definitely not. But, uh, we... The first thing that we, we did was to just write, uh, a- allow it to create user-defined functions in WebAssembly.

26:48

Aaron Francis

Cool.

26:48

Glauber Costa

So SQLite, SQLite allows you to create... And by the way, this is something that is just not in- it, it, it ended up not being very interesting for us at Turso.

26:57

Aaron Francis

Mm-hmm.

26:57

Glauber Costa

It is not something that we allow people to do in the Turso platform for a variety of reasons.

27:01

Aaron Francis

Mm-hmm.

27:01

Glauber Costa

But it is the first thing that we added to, to Libsql. Uh-

27:05

Aaron Francis

Mm-hmm

27:05

Glauber Costa

... SQLite allows you, as you know, to define functions. Uh, those functions are usually something that you write in C and, and just put there-

27:11

Aaron Francis

Mm-hmm

27:12

Glauber Costa

... and then you register the function. Now, we wanted a, something with a create function syntax in the language-

27:18

Aaron Francis

Mm-hmm

27:18

Glauber Costa

... that, that SQLite you just called a, a symbol, a C symbol, say, and register the function. So we wanted a more flexible way to do this. Uh, this is something that we, uh, we also happen to have, uh, at, at the time somebody in the team that is incredibly highly skilled with, uh, WebAssembly. Uh, he had done a similar thing for Scylla to allow you to write, uh-

27:39

Aaron Francis

Cool

27:39

Glauber Costa

... WebAssembly functions. So it, it kinda just felt like, let's see. Let, let's try and, and-

27:43

Aaron Francis

Mm-hmm

27:44

Glauber Costa

... and let, let's see if there is any interest here. Uh, but at the time it w- it was still very experimental. Uh, and then the second thing that we added, uh, was essentially the ability to do native replication.

27:55

Aaron Francis

Cool.

27:55

Glauber Costa

And this is still one of the core parts of what Turso is, right?

28:00

Aaron Francis

And so this native, this native replication, um, at what point... Was this for Chisel Strike, or at this point are you, you, y'all starting to bat around Turso and this native replication enables Turso to exist?

28:13

Glauber Costa

Uh, more, more the latter because, uh-

28:15

Aaron Francis

Okay

28:15

Glauber Costa

... by now this was already again November, December. Uh-

28:21

Aaron Francis

Mm-hmm

28:21

Glauber Costa

... so Turso did not exist yet as a concept, but Pekka and I knew a couple of things. So we knew that we, we wanted to try to put something out there to see if we could build a company just around the fork and not around the other-

28:34

Aaron Francis

Mm-hmm

28:34

Glauber Costa

... bits. So that was number one. Uh, and, and we also, we knew we would involve replication in some way. Uh, the, the, the code that we had for Chisel Strike was way different. Like, so, uh, uh, the, the internal code that we w- that, that we had for Chisel Strike was using Raft for consensus-

28:54

Aaron Francis

Mm-hmm

28:54

Glauber Costa

... uh, and it was much more complex and... So, so we had this, this idea on our mind of what Turso could become, uh, and then we wrote the replication code, uh, to serve that, right?

29:06

Aaron Francis

Gotcha. So let's get, let's get a little bit technical. So there are-

29:10

Glauber Costa

Let's do it

29:10

Aaron Francis

... there are some ways from the outside in to do some replication, and people, like, treat SQLite as a black box and kinda-

29:17

Glauber Costa

Mm-hmm

29:17

Aaron Francis

... do their stuff around it. How does native replication work in Libsql?

29:24

Glauber Costa

So SQLite has, uh... And the other day I got into a Twitter fight with someone about that, uh, but part of that is that people sometimes don't know that SQLite has two modes of operation. Uh, and the fight was around whether or not SQLite allow reads when it's writing to the database, and the answer is obviously it does. But the reason, but the reason the fight exists in the first place is that it didn't, uh, at some point.

29:50

Uh, so SQLite has two modes of operation. One of them is called the journal mode.

29:54

Aaron Francis

Mm-hmm.

29:54

Glauber Costa

Uh, and I, I think most people don't even use this anymore. Modern SQLite has something called the WAL mode. So W- WAL is called Write Ahead Log. So in the, in WAL mode, you still cannot have multiple writers, but you can have readers concurrent to writers. Uh, and, and even the concurrent writer thing, I, I keep thinking this is so unimportant.

30:19

Like, people have this idea that, oh, I can-

30:20

Aaron Francis

Mm-hmm

30:21

Glauber Costa

... I can... If I, if I write something, the other writer is gonna fail, so I can't really do concurrence in SQLite, which in WAL mode is completely untrue. Uh, at the database level, at the lower levels of the database, yes, those writes will be serialized, and you're not gonna have two at the same time. So adding cores and adding threads will not help you.

30:42

But what that means is that the second write will wait for the first. So it-

30:46

Aaron Francis

Mm-hmm

30:46

Glauber Costa

... it's not... From, from the point of view of the user, you just do a bunch of concurrent writes. It, it just works, right?

30:53

Aaron Francis

Yeah.

30:53

Glauber Costa

You're limited in throughput, though, because you cannot do this from multiple cores, so that's essentially what it means.

30:58

Aaron Francis

Mm-hmm.

30:58

Glauber Costa

So there is, there is this data structure in SQLite called the WAL that allow those things to happen, that is already there. So the code that we wrote replaces the SQLite WAL. So it does two things. It, it... Fir- first of all, it, it adds hooks in the SQLite core library so that you can have an external implementation of the WAL.

31:18

Aaron Francis

Sure.

31:18

Glauber Costa

And then it provides this external implementation of the WAL. Uh, so every change that you-

31:23

Aaron Francis

Hmm

31:23

Glauber Costa

... libsql does not work in journal mode, by the way, because of this, because the core of what we're doing-

31:28

Aaron Francis

Makes sense

31:29

Glauber Costa

... reli- relies on the WAL. Uh, the WAL, as, as the name implies, is the Write Ahead Log. So the Write Ahead Log contains the newer changes. The way it happens is that you make changes, so you don't make changes to the database file. You make changes to the Write Ahead Log.

31:43

Aaron Francis

Mm-hmm.

31:43

Glauber Costa

And you keep writing different segments of this Write Ahead Log, and then every now and then, you come and compact the database file together with the new segments of the WAL. Otherwise, you would end up with a infinite amount of space, so every now and then-

31:55

Aaron Francis

Mm-hmm

31:55

Glauber Costa

... you have to compact that back into the databa- database file. Uh, so we have, uh, first of all, the hooks to allow anybody to come up and provide their own virtual implementation of the Write Ahead Log.

32:08

Aaron Francis

That's cool.

32:08

Glauber Costa

And then we, a- and then we have one particular implementation of the Write Ahead Log that is the, the, the implementation that allows replication to happen. Uh, so I can ship this Write Ahead Log to a different instance, and that instance can receive th- this new Write Ahead Log, uh, and then write that in the SQLite disk format. Uh-

32:27

Aaron Francis

Hmm

32:27

Glauber Costa

... so when, when in memory those things are not like SQLite to allow replication to happen. But-

32:34

Aaron Francis

Mm-hmm

32:34

Glauber Costa

... on disk, when it's materialized, it is always in the SQLite format, because then what happens is that if you open that file with SQLite, you would still be able to, to read it just fine.

32:45

Aaron Francis

Interesting. Okay. So you have, y'all have, um, taken the Write Ahead Log idea and made it abstract and presumably the, you know, the SQLite implementation is the first concrete version-

33:02

Glauber Costa

Yes

33:02

Aaron Francis

... of that.

33:03

Glauber Costa

Yes. Mm-hmm.

33:03

Aaron Francis

And then you wrote a second concrete version. So this is already feeling similar to SQLite's internal architecture for, say, the VFS stuff.

33:13

Glauber Costa

For example.

33:13

Aaron Francis

You have a ab- you have an abstract and a concrete.

33:16

Glauber Costa

Mm-hmm. Yeah.

33:17

Aaron Francis

And so you've done the same thing but at the, for the WAL mechanism.

33:21

Glauber Costa

Pretty much.

33:21

Aaron Francis

Left SQLite as one concrete implementation, then you have this, uh, replication-friendly one as a second concrete implementation. And what you're saying is that as it is represented in memory, you're able to do something special where it sends it off to somebody who's listening, but once it writes it to disk, SQLite or libsql will pick it up as if it's a regular WAL file.

33:46

Glauber Costa

That's correct, yes.

33:47

Aaron Francis

Okay. So then the implementation that, like, sends it off, so, um, how do you set that up? How do you set up, like, who is sending, who is receiving, where are conflicts happening? Who's the source of truth? Talk to me a little bit about that story.

34:06

Glauber Costa

Uh, let me take a step back, if I may. So-

34:09

Aaron Francis

Please

34:09

Glauber Costa

... one, one, one of the things, and, and then I'll converge those things. One of the things that, uh, a lot of people will also claim is that I love SQLite, but I am deploying my things on serverless.

34:21

Aaron Francis

Mm-hmm.

34:21

Glauber Costa

I am deploying it on Cloudflare Workers. I am deploying it on Vercel. I am deploying it on AWS Lambda. Uh, SQLite doesn't work well in those environments.

34:30

Aaron Francis

Mm-hmm.

34:31

Glauber Costa

Uh, so that was another thing that we wanted to make happen. So to make that happen, we also wrote something that initially we put in a completely, in a separate repository, which in hindsight was a big mistake, and then we fixed this mistake. The good thing about life, Aaron, is that if you make a mistake, uh, nine times out of 10, you can fix it. And-

34:49

Aaron Francis

Most of the time, yep.

34:51

Glauber Costa

Mo- Most... I'm not claiming here that all mistakes are fixable, but, uh- ... Softure, Softure does have a, a-

34:57

Aaron Francis

Software's, software approaches-

34:59

Glauber Costa

... an average

34:59

Aaron Francis

... 10 out of 10 fixable mistakes. Yeah.

35:01

Glauber Costa

Eh, no, no, nine and a half out of 10. Let's, let's give some-

35:04

Aaron Francis

Okay

35:04

Glauber Costa

... room for, for doubt. But, uh, so we wrote something called the libsql Server, which today-

35:10

Aaron Francis

Okay

35:10

Glauber Costa

... is part of libsql in the same repository, and it's all in the sa... But at the time, we wanted to... The reason we wanted to do this is that we didn't wanna muddy the waters between, like-

35:21

Aaron Francis

Mm-hmm

35:21

Glauber Costa

... what is the thing, because people see SQLite as this thing that is just a file. What is the thing that is the file? What is the thing that is the server? But I think our insistence on getting this into different repositories ended up muddying the waters even more, uh-

35:35

Aaron Francis

Hmm

35:35

Glauber Costa

... because especially for Turso, uh, we heard people saying, "Oh, those guys are sketchy because they're claiming that their things are open source." But you go look at the repository that they point you-

35:47

Aaron Francis

Oh

35:47

Glauber Costa

... and it's just a library. Like, all of the server functionality. And we say, "No, but the server functionality is in this other repository." But by the time I have to explain this-

35:54

Aaron Francis

Yeah

35:55

Glauber Costa

... right, I already created a bad impression. And, uh, so it, we merge... And also, uh, and also had a lot of practical build time complications as well of having to-

36:05

Aaron Francis

Yeah

36:05

Glauber Costa

... synchronize two repositories. So we merged them together. Uh, so there is, there is something on libsql called the libsql Server And the LibSQL server is essentially a protocol plus an implementation. So the protocol is also open and anybody can implement. It's a protocol plus a implementation of SQLite over HTTP.

36:27

Aaron Francis

Mm-hmm.

36:27

Glauber Costa

So it allows you to essentially do SQLite over HTTP, uh, including transactions, uh-

36:34

Aaron Francis

Cool

36:34

Glauber Costa

... over fully s- fully stateless HTTP. So you can do interactive transactions, you can do whatever you want. Uh, and this allows you to use LibSQL on Cloudflare Workers, because what you do is that you put a server close by. Now-

36:47

Aaron Francis

Mm-hmm

36:48

Glauber Costa

... the, the, the, the binary is not going on Cloudflare Workers, but that's fine. But now you're connecting to, to LibSQL over HTTP. Uh, and when we released Turso, by the way, that was what Turso did. I have those replicas-

37:00

Aaron Francis

Mm

37:00

Glauber Costa

... across the planet.

37:02

Aaron Francis

Mm-hmm.

37:02

Glauber Costa

And, and, and now you can connect to the closest one, and I auto-select what is the closest one for you. That, that was it, right? Uh, but this server, like this server is what handles replication. So the server is where you connect to. When Turso today, uh, and LibSQL in particular, uh, have two modes of replication, which is server-to-server replication.

37:25

Aaron Francis

Okay.

37:25

Glauber Costa

Uh, and server-to-server replication is something like I have a primary, which is the source of true, already answering some-

37:30

Aaron Francis

Mm-hmm

37:30

Glauber Costa

... of your questions. The model is very simple. SQLite is very simple, and we want to keep everything that we do very simple. That is-

37:38

Aaron Francis

Mm-hmm

37:38

Glauber Costa

... the g- the goal of this project. So there is a primary server, let's say in Dallas, close to you.

37:45

Aaron Francis

That's a good choice.

37:46

Glauber Costa

And, and you can then create a replica in Toronto close to me.

37:50

Aaron Francis

Yeah.

37:50

Glauber Costa

Those are two servers you connected over HTTP, and, uh, Turso will... And this is a part of Turso, not LibSQL, 'cause this is mostly-

37:57

Aaron Francis

Mm-hmm

37:57

Glauber Costa

... infrastructure setup. Uh, Turso will, uh, connect you to the closest replica. But if you're really talking about pure open source LibSQL, uh, again, it's very simple. You have a primary there, you have a replica somewhere else, or in this one server, in this other server, uh, and then you just connect to one of them and get the data that you need. Simple and, and easy.

38:18

Uh, there is another mode, a- and, and in this mode, again, the, the primary is the source of true and the replica polls the primary, say, "Hey, what is the, uh... This is the last replication index that I received. Send me your stream since that point." Uh, and then I keep track-

38:32

Aaron Francis

Okay

38:32

Glauber Costa

... I keep track of the replication index, and I'm always asking the primary, "Give me all of the data since this point in time." And then the primary is, is, uh, the primary is not sending things before the replicas ask for it. So it's a poll mode replication.

38:45

Aaron Francis

Okay.

38:46

Glauber Costa

Uh, and then the other thing that we added later, which is one of the things today that people absolutely love about Turso, is that if you think about it, this allows you to use SQLite in those environments that you couldn't before. So you can start-

39:00

Aaron Francis

Mm-hmm

39:00

Glauber Costa

... your tutorial, you do your Laravel tutorial with pure SQLite, and then if you deploy this to a serverless environment, you can still use the same SQLite 'cause now you're, you're talking over HTTP.

39:11

Aaron Francis

Right.

39:11

Glauber Costa

Uh, but, but that's not really how SQLite works. I mean, the, the-

39:15

Aaron Francis

Mm

39:15

Glauber Costa

... a lot of the SQLite magic happens because of the file thing. Uh, and again, people already loved it that you could develop in a file and then just switch the URL and, and that goes over HTTP.

39:26

Aaron Francis

Mm-hmm.

39:26

Glauber Costa

That was already magical. But what we allow today to happen is something that we call embedded replicas. So embedded replicas is essentially a file, and, and the same way, and the same way that a replica, a server replica can query the primary and, and every 200 milliseconds and say, "Give me the delta since that point in time."

39:45

Aaron Francis

Mm-hmm.

39:45

Glauber Costa

The library itself can do that for you. So, uh, you now have a application running SQLite as you would, uh, any, at any time. Uh, and all the writes, the writes are slower, in, in all fairness, at least for now. Uh, we, we, we plan to fix that in the future, but the writes are always going to this primary and getting back to you.

40:04

Aaron Francis

Mm-hmm.

40:05

Glauber Costa

But when you read, you read from the file.

40:07

Aaron Francis

Mm-hmm.

40:07

Glauber Costa

And even if you have other writers, right, even if you have other writers, uh, if you don't have other writers, you can use this as a backup solution. It's not that interesting, but, but, but, but it does work. But the powerful scenario is in which y- you can have now many writers. So you can, you can essentially scale out your application.

40:23

Aaron Francis

Hmm.

40:24

Glauber Costa

Each one of them will have a local file. So you are always reading from the local file at zero millisecond latency-

40:30

Aaron Francis

Mm-hmm

40:30

Glauber Costa

... uh, for, for networking. And every configurable by you, 500 milliseconds, one second or whatever you want, you poll this primary, uh, and, and then you just get the data back. And that data-

40:42

Aaron Francis

This-

40:43

Glauber Costa

... is materialized in the file, right?

40:45

Aaron Francis

This I think is the most interesting-

40:47

Glauber Costa

Yeah

40:47

Aaron Francis

... and powerful thing. This is, I think this is my favorite. So to, to say it back to you, you have a, you have a primary somewhere.

40:54

Glauber Costa

Yes.

40:54

Aaron Francis

So you have, you have the primary, let's say in Dallas, and then on every, every server or edge node or wherever you're deploying your application, you can have these embedded replicas. And so anytime you have a write in your application, your application would have to have read write set up already, which, you know, most, most frameworks have.

41:18

So Laravel-

41:19

Glauber Costa

Mm-hmm

41:19

Aaron Francis

... has the concept of a writing database and a reading database. Feel like that's pretty normal. So you send all of your writes to the primary, and then the LibSQL that's sitting next to your deployed application is constantly polling that primary and pulling changes in.

41:34

Glauber Costa

Mm-hmm.

41:34

Aaron Francis

So when 80% of your traffic, 90% of your traffic is reads and not writes, which I think is about standard, 90% of that traffic is hitting the database that's literally sitting on the same disk right next to you, right next to your application. Um, but you still, you still get that, that benefit of SQLite being embedded, but you get the benefit of a more traditional or a different style of database where you can have, uh, a bunch of writers coming to one point and then replicating out.

42:04

Glauber Costa

Pre- pretty much. Uh, as long as you have a file system, you can do this. Uh, and which a, a lot of mis- one misconception that that means that it doesn't work on AWS Lambda, it doesn't work on Vercel. That is half true because it's usually-

42:17

Aaron Francis

Mm-hmm

42:17

Glauber Costa

... not the recommended setup, but you do-

42:20

Aaron Francis

Mm-hmm

42:20

Glauber Costa

... have a temporary file system in those environments.

42:23

Aaron Francis

Mm-hmm.

42:23

Glauber Costa

Uh, and this tends to be recycled. Uh, so for, for a small amount of data, for a lot of data it doesn't work because, uh-

42:30

Aaron Francis

Interesting

42:30

Glauber Costa

... for, for, for a, for a large amount of data, you have to be downloading the whole file all the time.

42:35

Aaron Francis

Right.

42:35

Glauber Costa

But for a small amount of data, and we actually have a blog post explaining that, you can write the database-

42:41

Aaron Francis

Huh

42:41

Glauber Costa

... to the temporary file system, uh, and check, and, and check the modifica- Because if you have to now contact the server to see if this is up to date, you already lost the benefits, right?

42:50

Aaron Francis

Mm-hmm.

42:50

Glauber Costa

Might as well do HTTP. So what we recommend is that you use the temporary file system, you check the la- latest date of modification, like the timestamp on the file. Uh-

43:00

Aaron Francis

Mm-hmm

43:00

Glauber Costa

... if it's less than, let's say, a second ago, uh, it, it means that you just read from the file. Uh-

43:05

Aaron Francis

Mm

43:05

Glauber Costa

... if the modification timestamp is more than a second or if there is no file, that means that you've got a fresh container or, or, or-

43:12

Aaron Francis

Mm-hmm

43:12

Glauber Costa

... you got recycle, or last update was last, was a, a, a period that you don-

43:17

Aaron Francis

That's interesting

43:17

Glauber Costa

... that you, you don't consider fresh anymore, then you just sync first and, and, and then you read. Uh, so you can do this for a small amount. The thing is that on, if you don't have a longstanding server, this is gonna happen a lot more often, and it just, the, it's not worth it if you have, like, a gigabyte of data. It still works well if you have, like, a maybe a couple megabytes of data.

43:38

But if you're-

43:38

Aaron Francis

Yeah

43:38

Glauber Costa

... deploying something, let's say on Fly.io, on Render, on koyapp, on AWS, EC2, anything where you-

43:44

Aaron Francis

Mm-hmm

43:44

Glauber Costa

... have a server, um, you have a file system, uh, you can even use, like, ephemeral volumes because if your file sys- if your container dies and you have to replace it, at that point, you, uh, Turso will automatically, uh, you download the whole file again because it's the first sync. It's just that you, you provide no index, so you get the whole file.

44:04

Aaron Francis

Mm-hmm.

44:05

Glauber Costa

In, in a longstanding server, that doesn't happen very often, so it's still worth doing it.

44:09

Aaron Francis

Mm-hmm.

44:09

Glauber Costa

So you don't even need a persistent volume. You can use just a whatever, temporary file system, a, a ephemeral volume. You can use whatever you want.

44:19

Aaron Francis

That's, that's interesting, and that makes a lot of sense. So is the, is the, um, is the blessed way to use Turso in a serverless environment most of the time without those caveats, the HTTP method?

44:33

Glauber Costa

Uh, yes. Yes.

44:34

Aaron Francis

Yeah. So it sounds like in certain cases it might be okay to pull it down and put it in the temp storage-

44:41

Glauber Costa

Mm-hmm

44:41

Aaron Francis

... but for the majority use case, you're gonna use that HT- HTTP mode, uh, of Turso, which, yeah, that makes a lot of sense. Do you see a lot of people, um, as far as, like, your, your customers, do you see a lot of people deploying in serverless environments-

44:57

Glauber Costa

Yep

44:57

Aaron Francis

... or do you see a lot of people putting it in something like Fly where it's, like, quasi-serverless? But they're still s- they're still actual servers, long-running servers.

45:05

Glauber Costa

No, the, the, Fly has nothing serverless about them. It's pure servers, right, just like-

45:09

Aaron Francis

But it feels so serverless because you can-

45:11

Glauber Costa

Yep

45:11

Aaron Francis

... you can, like, you can still SSH in, so it's not serverless-

45:14

Glauber Costa

Yeah, exactly

45:14

Aaron Francis

... but it feels so serverless.

45:16

Glauber Costa

Yeah. Uh, you have the granularity of a server, and you can have things-

45:19

Aaron Francis

Mm-hmm

45:19

Glauber Costa

... like Fly, Fly does allow you to, like, have something that comes up, serves a request, and, and goes down.

45:25

Aaron Francis

Yeah.

45:25

Glauber Costa

Uh, but you always, this is always backed by a server, right?

45:29

Aaron Francis

Mm-hmm.

45:29

Glauber Costa

But-

45:29

Aaron Francis

So where, do you see a lot of people... Like, what's your split, if you had to guess, of where people are using Turso?

45:37

Glauber Costa

Um, I think the is- I think it will be close to 50/50.

45:43

Aaron Francis

Oh, wow.

45:43

Glauber Costa

And it might, and it might be a little bit more... Like embedded replicas were transformative. I mean, when we released this-

45:48

Aaron Francis

Mm-hmm

45:48

Glauber Costa

... we, we just got a completely different class of, of people coming, right? Just, uh, uh, it was very, I think JavaScript is still our leading language.

45:59

Aaron Francis

Hmm.

45:59

Glauber Costa

But when we released Turso, it was, like, by a large margin, like 90% of the people were really coming from JavaScript. Um, after embedded replicas, I think this became a lot more appealing to a, a, a, a, uh... And this is, I think, just because most of the function as a server things run with JavaScript.

46:18

Aaron Francis

Yeah.

46:18

Glauber Costa

Now we have a lot of PHP developers coming. Uh, uh, uh, you know that because I told you, uh, we didn't have the bandwidth yet to do a official PH- PHP driver, but we had three different community contributors-

46:30

Aaron Francis

Mm

46:30

Glauber Costa

... contributing PHP drivers, uh, for, for usage with Turso. Uh, and then we decided to sponsor one of them that, that seemed ahead of the pack. Uh-

46:39

Aaron Francis

Mm-hmm

46:39

Glauber Costa

... but again, look at that. I mean, before you can even have a driver, people are already, like, hooking something up to the best-

46:45

Aaron Francis

Yep

46:45

Glauber Costa

... of their abilities 'cause they really wanna use this. So this idea of embedded replicas is just really, really powerful, and it's something that marries the benefits of SQLite, uh, that people have been knowing and loving for two decades-

46:59

Aaron Francis

Mm-hmm

46:59

Glauber Costa

... with how you run a production Postgres like my SQLite database, right?

47:04

Aaron Francis

Mm-hmm. Yeah, the reason, the reason I like this embedded replica, uh, system is because most of the majority of traffic is gonna be reading the database-

47:14

Glauber Costa

Exactly

47:14

Aaron Francis

... and not writing.

47:15

Glauber Costa

Mm-hmm.

47:15

Aaron Francis

And so you get the majority of the benefit by just treating, uh, SQLite as a nearby read, and then you can write, and those can incur a little bit of penalty 'cause it's less frequent.

47:27

Glauber Costa

Yeah.

47:27

Aaron Francis

Um, so I do-

47:27

Glauber Costa

And, and, and I wanna, and I wanna clarify that there is a performance penalty in writing because now you have, you're writing not only, like, you're not gonna be as fast writing remote and writing locally. That, that is obvious.

47:39

Aaron Francis

Mm-hmm.

47:40

Glauber Costa

Uh, and also the way we write, like it's, it's a little bit more expensive than a normal Turso write as well because now you have a full round trip to get things-

47:47

Aaron Francis

Mm-hmm

47:47

Glauber Costa

... to come back. Uh, because we do wanna provide read your own writes consistency. If your replica writes something, you will read-

47:55

Aaron Francis

Mm-hmm

47:55

Glauber Costa

... your own writes-

47:56

Aaron Francis

Mm-hmm

47:56

Glauber Costa

... uh, which is much better than a fully distributed cache in, in which you never have those guarantees. But you don't have to set up anything for that to happen, so it's not that you have to be aware that you are... All you have to do is to write. So the code doesn't change. The code is still reads and writes.

48:12

Aaron Francis

Oh-

48:12

Glauber Costa

Reads and writes

48:13

Aaron Francis

... okay.

48:14

Glauber Costa

There is no setup involved. It's just that it is faster or slower. That's it.

48:19

Aaron Francis

So from the perspective of the application, so from the perspective of the application with, uh, embedded replicas, am I just writing and LibSQL intercepts-

48:30

Glauber Costa

Yes

48:30

Aaron Francis

... that and sends it off to the primary?

48:32

Glauber Costa

Yes.

48:33

Aaron Francis

That's the ticket.

48:34

Glauber Costa

Yeah.

48:34

Aaron Francis

That... Yep, that's the move.

48:37

Glauber Costa

So you don't-

48:37

Aaron Francis

Oh, I learned a lot

48:37

Glauber Costa

... you don't ha- you don't have to have an external, "Oh, now I'm gonna write, I'm gonna do an external thing," which is, uh-

48:42

Aaron Francis

Right

48:42

Glauber Costa

... my impression was that you were understanding that way. Like, are you-

48:45

Aaron Francis

Right

48:45

Glauber Costa

... you, you just write specially.

48:47

Aaron Francis

Right.

48:47

Glauber Costa

You don't even have to do that. They're just slower because you're now inter- being intercepted and writing to the primary. But from the per- perspective of the code, you just read and write. There is nothing there.

48:57

Aaron Francis

I like that. I like that you hide that, you hide that behind your implementation or your, uh, library, not mine.

49:02

Glauber Costa

And, and once more-

49:03

Aaron Francis

So-

49:03

Glauber Costa

... this, this is only possible because we forked the whole thing, so we have all of those entry points-

49:07

Aaron Francis

Right

49:07

Glauber Costa

... where we can add the stuff that we needed, right?

49:10

Aaron Francis

Right. Um, okay, so the thing that I've seen recently that I think, I think your, uh, very smart co-founder, Pekka, has been working on is-

49:20

Glauber Costa

Oh, we'll, we'll agree to disagree on, on that, but, um, yeah.

49:23

Aaron Francis

Um, I saw that y'all just released, uh, some sort of vector search embedding stuff for SQLite, which of course is like-

49:33

Glauber Costa

We did

49:33

Aaron Francis

... everybody is clamoring for vectors these days. So tell me, uh, what your, what your very talented co-founder has been cooking up over there.

49:41

Glauber Costa

Yeah. So, uh, just to clarify that I am mostly joking. Pekka is actually sometimes quite smart. But, uh, but here, here's the conclusion that we got. Like a... Every database company today faces pressure to respond to the rise of AI.

50:00

Aaron Francis

Okay.

50:01

Glauber Costa

But what we never wanted to do was do it just for the sake of doing it.

50:05

Aaron Francis

Mm-hmm.

50:06

Glauber Costa

So we... It just doesn't match our style. That's, that's not what we wanna do and that's not who we are as people. Like, we wanna make sure that what- whatever we're doing has a, a big benefit and, and the market will appreciate. Otherwise, we've got tons of other things to, to do.

50:20

Aaron Francis

Mm-hmm.

50:21

Glauber Costa

Um, we, we went through a laundry list of ideas of, like, do we have a natural advantage, uh, for SQLite for this thing in the AI market? We even said, "Can we run SQLite in the GPUs?" And we found some-

50:37

Aaron Francis

Hmm

50:37

Glauber Costa

... some academic papers of people who tried and got good results and, you know, explored a bunch of, of, of those crazy directions. And eventually we understood that vector search is not that different than any other form of database, uh, operation, and the same things that people love about Turso, that people love about SQLite, and that people love about this idea of, like, hey, run something locally, replicate, do embedded replication.

51:06

Uh, and just, uh, one of the things that people appreciate about Turso so much, how cheaply we can make the service, service available-

51:12

Aaron Francis

Mm-hmm

51:13

Glauber Costa

... with a very generous free tier. All of those things would w- be just as applicable to vector search. Uh, there was an extension, there is an extension which I understand is getting deprecated, so they call SQLite VSS, that some people in our community were using to, to do vector search with SQLite.

51:33

So you can load this extension. This extension-

51:36

Aaron Francis

Mm

51:36

Glauber Costa

... allows you to create a virtual table on SQLite, and on that virtual table, uh, you, you can y- you can essentially do vector similarity search. We talked to a lot of those users and then we understood that one of the things that they didn't like about it was that loading the extension was not great. Like, just that-

51:52

Aaron Francis

Mm-hmm

51:53

Glauber Costa

... it, it's this, this thing, I mean, it's okay, but I have to do something about it, and then every time that I'm using it, I have to load the extension. The developer experience, uh, a lot of people t- told us is it's just not there because I have to create a virtual table and then I have to then-

52:09

Aaron Francis

Mm-hmm

52:10

Glauber Costa

... get this virtual table to work with the rest of my data which is not in the, in the virtual table. Imagine, for example, you have a table of users and then you have to have some vector representing that user.

52:20

Aaron Francis

Mm-hmm.

52:20

Glauber Costa

Uh, how, how do I query those things together? N- none of those things were things that, that people in our community like very much. And now, as I said, we have a 4,000-strong community on Discord, so we have a lot of data to just, you know, go and, and, and chat with, with some of those folks. And then we said, "Look, the whole reason for the LibSQL project is to be able to change SQLite."

52:43

Aaron Francis

Mm-hmm.

52:43

Glauber Costa

Uh, people don't like the fact that this is an extension. People, uh, but people keep te- They keep telling us that, "Look, other than that, this sounds incredible for vector search," because, uh, another thing that we didn't explore, creating a database on SQLite is just creating a file, right?

53:01

Aaron Francis

Mm-hmm.

53:01

Glauber Costa

So it, it takes 100 milliseconds and it can create 100 thousands of them if you want. And, and one... If you wanna do a database per user, go do it. If you wanna do a database per body part of the user, go do it. If you wanna do a database per hair, you know, hair strand, you may able to do it. I, I, I can't. Like, just, just do it, right?

53:21

Aaron Francis

It'd be an, it may-

53:22

Glauber Costa

So, uh-

53:22

Aaron Francis

Would it be a no-op for you?

53:23

Glauber Costa

Ex- exactly. Yeah. But I do have a lot of body hair, though, so, like, if you're counting the whole thing-

53:28

Aaron Francis

Okay

53:28

Glauber Costa

... then I, I need a lot of databases.

53:30

Aaron Francis

Yeah. Well, keep going.

53:31

Glauber Costa

Yeah.

53:31

Aaron Francis

Keep going. Move on.

53:32

Glauber Costa

But, but, uh, lot of people seem to be interested in that. Look, if it, if it wasn't for the fact that this extension is cumbersome, uh, and it had a-

53:41

Aaron Francis

Mm-hmm

53:41

Glauber Costa

... a lot of technical limitations, Turso would be a perfect database for running those AI applications because it can run, like, per p- per user context. They just put different users in different databases. Uh, I can put this on my mobile device.

53:55

Aaron Francis

Yeah.

53:55

Glauber Costa

Embedded replicas, by the way, uh, we are a little bit low. Uh, the drivers are not that great but conceptually they can work on, on embed- on mobile devices.

54:04

Aaron Francis

Mm-hmm.

54:04

Glauber Costa

It's just that working with, with React Native and, and et cetera, it's complicated. We're fighting that battle now.

54:12

Aaron Francis

Mm-hmm.

54:12

Glauber Costa

But conceptually people say, "Oh, imagine that. I could, I could keep those things completely separated and I could push to the user mobile device." Uh, I could do all of that, but, like, loading the extension, it, it's hard and, like, the extension itself has a lot of problems. So Pekka essentially, uh, out of his wisdom, understood that the whole reason for this project existence is so we can do whatever we want with SQLite.

54:35

So let's just-

54:35

Aaron Francis

Mm-hmm

54:35

Glauber Costa

... do whatever we want with SQLite, and let's change SQLite natively so we now has a vector column. Uh, and this is what we ended up doing. So if you can create now... Now you can create a text field, you can create an integer field, you can create a blob, you can create a null, or you can create a vector, right?

54:55

Aaron Francis

Hmm.

54:55

Glauber Costa

And it just works like that. Uh, and this is something that the community so far has been appreciating very, very much. Uh, everything you wanna do, uh, by the way, if you wanna use this without Turso, just purely locally with LibSQL, you can do this as well, 'cause if we talk about all of those things that you can do, that doesn't mean you have to do them all at once.

55:15

Aaron Francis

Mm-hmm.

55:15

Glauber Costa

So you can just put this on a mobile device, for example, uh, and now you have native vector search. Uh, and we also implemented a, a indexing algorithm to index those vectors-

55:26

Aaron Francis

Hmm

55:26

Glauber Costa

... and, and it just becomes a part of your SQLite table. You, you will write a query like of select a star from movies where year is higher than 2020, and the vectors are similar to those other vectors. You just do that, and limit three and order by the author, right? You write the SQLite query that now has vectors on it.

55:49

Aaron Francis

That is super cool. How long did it take... How long did it take y'all to, to, uh, implement this? Um, and what is, like, the... I guess, what's the overhead or the maintenance complexity? How, how easy was it to do?

56:05

Glauber Costa

Uh, so again, it does help that Pekka and I have a lot of experience with C, uh, and, and-

56:13

Aaron Francis

Mm-hmm

56:13

Glauber Costa

... very low-level stuff. The hardest, I think the hardest part was really, uh, some aspects of the developer experience are not exactly... They didn't ended exactly being how we wanted because some parts of SQLite were very hard to change.

56:29

Aaron Francis

Yeah.

56:29

Glauber Costa

Uh, so, but, but by and, by and large, is, is fantastic. Um, it took us around two months, and by the way, it was exclusively Pekka working on it. We didn't have any other engineer.

56:39

Aaron Francis

That's pretty good. Yeah.

56:40

Glauber Costa

Uh, you, you haven't seen... Pekka is a monster. Uh, it's a- ... he's out of this world.

56:44

Aaron Francis

Apparently.

56:45

Glauber Costa

Yeah. And, and-

56:46

Aaron Francis

I mean, so for context, the SQL, parts of the SQLite code base are two decades old, and I-

56:52

Glauber Costa

Yeah

56:52

Aaron Francis

... well, from what I understand, uh, DRH writes, writes his C in a very particular style that can be-

56:59

Glauber Costa

Yes

56:59

Aaron Francis

... a little bit, uh, obtuse. And so to be able to-

57:02

Glauber Costa

Um

57:02

Aaron Francis

... do that in, in two months is pretty impressive.

57:04

Glauber Costa

I, I appreciate the way you phrase it, Aaron. I think you're just a much more polite person than I am. Uh, or, or with a richer vocabulary. Uh, uh, but- ... uh, yeah, the s- the SQL... Again, I, and I wanna clarify that, uh, SQLite is just a fantastic piece of software. It's extremely reliable. But the coding style is, is hard to follow, and, and-

57:24

Aaron Francis

Mm-hmm

57:25

Glauber Costa

... I think as a result of being maintained by a single person or, or close to a single person for two decades. And-

57:31

Aaron Francis

Mm-hmm

57:31

Glauber Costa

... it, it is quite hard, but, uh, look, uh, go look at all, uh, history that Pekka had in the Linux kernel. Uh, I, I was not, uh, the high-profile guy in Linux. I, I just create the Zuora, but, uh, Pekka, Pekka was, uh, and still is. I mean, Pekka is still one of the best engineers we have on the team. Uh, and as the CEO, I think that if I have to claim any credit on this, uh, the credit was exactly for me to look around, and this is not to diminish the rest of the team, which are also fantastic engineers.

57:59

Uh, we have people working from us, for example, the maintainer of the Tokyo library in Rust-

58:04

Aaron Francis

Hmm

58:04

Glauber Costa

... uh, and, and others that are extremely competent engineers, but they don't know C because they're all kids. Uh, and ki- kid- kids for me are, uh, anybody under 40, I think we can confidently call-

58:18

Aaron Francis

Kid

58:18

Glauber Costa

... like you, Aaron, you're a baby.

58:21

Aaron Francis

Yeah.

58:21

Glauber Costa

Uh, you're a baby with your own babies, but, uh, you're still, still-

58:23

Aaron Francis

That's right

58:24

Glauber Costa

... uh

58:24

Aaron Francis

With many, many babies. But yeah-

58:26

Glauber Costa

Exactly

58:26

Aaron Francis

... still a kid.

58:27

Glauber Costa

But, but look, uh, what I told the company is that I will moonlight as both CTO and CTO for the time being, like I'm running the show now on both fronts, and you guys just leave Pekka alone.

58:38

Aaron Francis

Mm-hmm.

58:38

Glauber Costa

Uh, and now, now that it got to this point that it's re- it's, it's in beta, but it's released-

58:44

Aaron Francis

Mm-hmm

58:44

Glauber Costa

... now we can start offloading parts of that, and we can just look at this as a normal project and, and go into stability cycle. But you know, Pekka alone, doing nothing else, just did this in two months.

58:57

Aaron Francis

Man, that-

58:59

Glauber Costa

Yeah.

59:00

Aaron Francis

He sound, he sound, he sounds like a, a pretty, uh, a pretty beastly engineer. That's very-

59:04

Glauber Costa

Yeah

59:04

Aaron Francis

... impressive. Um, so what's next? Like, in terms of, I guess, both LibSQL and Turso, what's next? Um, they could be the same or they could be different. What's, what's on the horizon for each of those things?

59:18

Glauber Costa

It's still incredibly important for us to grow this community. So if you are-

59:22

Aaron Francis

Okay

59:22

Glauber Costa

... a person that wants to be a part of that, this is why we started. We have a company around that now, uh, and we've moved the whole company towards this, but we never lost this dream of like m- ma- making this a large community project-

59:37

Aaron Francis

Hmm

59:37

Glauber Costa

... which we did, by the way. We have over 60 contributors to LibSQL today.

59:41

Aaron Francis

Man, that's awesome.

59:42

Glauber Costa

Uh, so, so I would love to, uh, I would love to leave some of this future up to you, the listener, uh, and, you know, show up and, and we have contributors today doing things that we would not be otherwise doing it, and this is exactly what we wanna see. Uh, that said, we do have a couple of things on the horizon for, uh, Turso. Uh, and obviously the things that we're gonna be putting into the project are f- first and foremost for the benefit of the company, uh, the, the, the things that we actively get involved with.

1:00:12

First of all, we need, we want to do more vectors, so we wanna, uh, there are a couple of things that Pekka are still working on and starting to hand out to other people. Uh, and not to get too technical, there will be like one big quantization if you guys, if any of your audience heard of it. If not, uh, get me... If, uh, follow me on Twitter, ask me the question. Uh, for, for embedded replicas, we also wanna do offline writes.

1:00:34

So again, today you all, you still depend on the primary to be writing So you always write to the primary. That is low because you're writing to the primary and, and you can only write when online. Uh, we wanna have a mode in which you essentially make your server the primary, and now Turso just becomes a distribution point. So, uh, we call this-

1:00:55

Aaron Francis

Yeah

1:00:55

Glauber Costa

... offline writes. That's one of the things that we wanna do. This would move us even closer to the fantastic model of, like, doing SQLite things. Um-

1:01:04

Aaron Francis

Sure

1:01:04

Glauber Costa

... and look, double down on a lot of things on the initiatives that we have.

1:01:09

Aaron Francis

I love it. Man, I love it. I'm so glad that you came on and explained all of this to me. Um, I'm-

1:01:16

Glauber Costa

Anytime

1:01:16

Aaron Francis

... obviously very, very interested in the underlying technology, but also the business angle is super fun for me. So thank you for taking the time to do this. If people want to follow you on Twitter, uh, and, and, uh, argue with you about SQLite journal mode or WAL mode, uh, where can they find you?

1:01:36

Glauber Costa

Uh, they can find me on Twitter at GLCST, as in Glauber Costa. Uh, please don't follow Pekka, because, uh, Pekka and I have this competition internally. Uh, he, he just wrote a book that is terrible about latency. I don't recommend anybody buy that book because-

1:01:53

Aaron Francis

Yeah

1:01:53

Glauber Costa

... he's been... Every now and then he comes to me and say, "Hey, I, I sold that many copies of the book," and then he's trying to use this to- ... essentially brag, and I just don't wanna give him the fodder. So just please, if you're listening-

1:02:04

Aaron Francis

Oh, yeah

1:02:04

Glauber Costa

... just don't do it. Uh, but-

1:02:06

Aaron Francis

I'll leave a link to the book-

1:02:07

Glauber Costa

... follow me

1:02:07

Aaron Francis

... in the show notes.

1:02:10

Glauber Costa

Aaron, it break my legs by doing this, man.

1:02:15

Aaron Francis

Okay. So follow, follow Glauber, not Pekka.

1:02:17

Glauber Costa

But not Pekka. There you go.

1:02:18

Aaron Francis

GL- GLCST, which is a great, great-

1:02:21

Glauber Costa

Yeah

1:02:21

Aaron Francis

... handle. Five characters. That's pretty good.

1:02:23

Glauber Costa

Well, Pek- Pekka, Pekka's is even better because his name is Pekka Enberg, and then his handle is P Enberg, which I should not have said, but, uh, now that I did-

1:02:31

Aaron Francis

Yeah. There's, yeah

1:02:32

Glauber Costa

... just don't follow. You can visit-

1:02:33

Aaron Francis

Don't follow

1:02:33

Glauber Costa

... his profile, just don't follow. There you go.

1:02:35

Aaron Francis

Go admire his profile-

1:02:36

Glauber Costa

Yeah

1:02:36

Aaron Francis

... admire the book, but don't-

1:02:38

Glauber Costa

Yeah

1:02:38

Aaron Francis

... don't take any action. Okay. Well, thank you again for doing this, and y'all, y'all go follow Gl- Golly. Y'all go follow Glauber and check out Turso. Um, and until the next time, talk to you later.

1:02:51

Glauber Costa

Thank you so much, Aaron.

Databases

More videos on databases

All videos

Get the next one by email

I’ll send you some more. Not too many.

Join 7,500+ other readers.

Read past issues