February 202550:505.1k views

Postgres on bare metal with the CEO of Prisma

About

Prisma started as a GraphQL backend and pivoted into one of the most widely used ORMs in the world. Now, they’ve launched Prisma Postgres, and CEO Søren Bramer Schmidt is here to break down the journey, the challenges, and the massive technical innovations behind it—including bare-metal servers, Firecracker microVMs, and unikernels. If you care about databases, performance, or scaling, this one’s for you.

Transcript

Everything we said

00:01

Aaron Francis

Hello, friends. Welcome back to Database School, uh, your favorite, if irregular, uh, podcast. This is your favorite podcast about databases. Uh, my name is Aaron Francis, and I am lucky to be here today with the founder and CEO of Prisma, Soren. Soren, thank you for joining me, and do you wanna introduce yourself a little bit further?

00:22

Søren Bramer Schmidt

Absolutely. Thank you for having me, Aaron. Um, yes, my name is Soren. I founded this company, Prisma, together with my co-founder eight years ago now.

00:30

Aaron Francis

Mm.

00:30

Søren Bramer Schmidt

Before that, I've been a regular software developer for 10 years, something like that, and I studied computer science in, uh, in Denmark, where I, where I came from a long time ago now. Moved to, to Berlin eight years ago to, to kind of start this crazy journey that became Prisma.

00:50

Aaron Francis

Very, very interesting. I did not realize it had been eight years. Man.

00:54

Søren Bramer Schmidt

Yes.

00:55

Aaron Francis

Feels, it feels like it, uh, just came out of nowhere, which I'm sure is not how it feels for you. So tell me, um, when, when you started this thing eight years ago, um, you know, we'll talk about kind of how the vision has expanded, um, or at least the outside vision. So tell me when you started it eight years ago, what was like the inciting incident? What made you say, "Oh, I just, I just love databases.

01:16

I gotta do this company"?

01:18

Søren Bramer Schmidt

So me and my co-founder had come out of, uh, parallel but similar experiences starting a, a series of, of companies, or startups you would call them, in very rapid succession. And we were using, uh, Firebase, Parse-

01:33

Aaron Francis

Mm

01:33

Søren Bramer Schmidt

... these kind of backend as a service tools.

01:35

Aaron Francis

Ugh, Parse.

01:36

Søren Bramer Schmidt

Uh. Parse was the best.

01:38

Aaron Francis

Dead now.

01:39

Søren Bramer Schmidt

Uh, the best.

01:39

Aaron Francis

It was the best. Oh, RIP.

01:43

Søren Bramer Schmidt

Uh, but these tools, they all had this problem that you could really... You could get started, but then you kinda got stuck. It, it didn't really scale with you. You couldn't build real applications-

01:50

Aaron Francis

Mm-hmm

01:50

Søren Bramer Schmidt

... on those systems. Uh, so eight years ago, in 2016, um, React was really becoming a thing, and GraphQL, uh, was just being announced by, by Facebook. And we thought, "Okay, we can take those thing, things and mix them together and, and build the tool of our dreams. The, the-

02:08

Aaron Francis

Mm

02:08

Søren Bramer Schmidt

... backend as a service to rule them all." So that's what we did. Initially, we didn't create Prisma. We created something we call Graphcool. Um-

02:17

Aaron Francis

Mm

02:17

Søren Bramer Schmidt

... and Graphcool is much similar to what Supabase is today, a, a modern take on Firebase. Um, and we, so we s- uh, did a speed run of this experience, uh, and we ran into exactly the same problems that Firebase had passed before us had. Uh, we got about 100,000 applications deployed on this thing, and, and what we found is that our, our, our best customers-

02:41

Aaron Francis

Mm

02:41

Søren Bramer Schmidt

... uh, real organizations, Fortune 2000 companies, they would make prototypes, and then as soon as they had validated the prototype-

02:48

Aaron Francis

Mm

02:48

Søren Bramer Schmidt

... they would allocate a real budget with a real team of engineers-

02:51

Aaron Francis

Mm

02:51

Søren Bramer Schmidt

... and rebuild it with real technology, and there was no Graphcool involved. Um, so that was a big, a big problem for us obviously because we are to, to make a business, to, to- ... to make money and sustain ourselves. Um, so we went and talked to those people, and what we found is that the, the part that they really liked from Graphcool was the, um, was the database abstraction.

03:12

What, uh, you know as Prisma schema today-

03:14

Aaron Francis

Mm

03:14

Søren Bramer Schmidt

... that existed already back then and was informed by the way GraphQL has a schema. They liked that part. Uh, they liked how it was easy to work as a team on the database structure, and they liked the GraphQL, like, uh, query interface to the database. So we took those two things, and we turned it into what is today Prisma. Uh, and now Prisma, of course, is a, uh, is a very solid piece of, uh, of technology that is adopted by companies large as,

03:45

large and small across the world.

03:46

Aaron Francis

Mm-hmm. So you pulled it off. You made it out of, uh- ... prototype zone into production zone.

03:51

Søren Bramer Schmidt

Yes.

03:51

Aaron Francis

So that's amazing. Congratulations there. How long did you, how long did you all work on Graphcool? Because it sound... You said 100,000 applications. That's pretty impressive. So how long was this journey before you realized, "Oh, we have to make a fundamental switch"?

04:06

Søren Bramer Schmidt

Um, so that's a funny story actually. I th- it, it, it was a year and a half, uh, and we made the decision-

04:12

Aaron Francis

Wow, fast

04:12

Søren Bramer Schmidt

... to, to transition away from Graphcool the day before we were to, to go on stage at, uh, the yearly GraphQL conference and talk about-

04:21

Aaron Francis

Oh

04:21

Søren Bramer Schmidt

... some cool new stuff we were doing. Uh, so we were like, "Okay, team."

04:24

Aaron Francis

Did you still go on stage?

04:26

Søren Bramer Schmidt

We did. We did. Um, and then two months later we announced this, uh, small shift in direction of the company.

04:36

Aaron Francis

Leaving, leaving GraphQL behind, right?

04:39

Søren Bramer Schmidt

Leaving GraphQL behind. Leaving-

04:41

Aaron Francis

Yeah

04:41

Søren Bramer Schmidt

... the, the hosted service, the backend as a service vision. All of that left behind, focused for, for three, four years exclusively on building the best ORM for the Node ecosystem.

04:53

Aaron Francis

Yes.

04:53

Søren Bramer Schmidt

And what really enabled us to, to, to do that is this technical change that was happening at the time. You probably remember that in 2016, '17, '18, everybody was, was talking about TypeScript, but also Flow.

05:06

Aaron Francis

Mm-hmm.

05:06

Søren Bramer Schmidt

And it wasn't really clear which of those-

05:08

Aaron Francis

Mm-hmm

05:08

Søren Bramer Schmidt

... would win. Um, uh, at some point we got a feeling that it's gonna be TypeScript, so we, we were all in on TypeScript. TypeScript had just, uh, introduced, uh, conditional typing, which is really what enabled us to, to, to build this very sophisticated, um, uh, query interface.

05:26

Aaron Francis

Mm-hmm.

05:26

Søren Bramer Schmidt

Uh, it is unlike anything that has, had existed before in any other languages, and that sh- that was really enabled by this advanced type system in TypeScript. And now of course, uh, there are tons of libraries taking advantage of that, but I think Prisma was the first, uh, major library to really, uh, push TypeScript to its limits.

05:45

Aaron Francis

So you told me I could ask you anything I want, so I'm gonna ask, I'm gonna ask you a question. Um, so when you, when you pivoted out of Graphcool, and you've got 100,000 people on the platform, seems to be working, uh, you know, some regard. Maybe at like a, only a, you know, an indie hacker level, and you had bigger as-

06:05

Søren Bramer Schmidt

Yeah

06:05

Aaron Francis

... aspirations or something. Regardless- You got people paying, it's working. You, you all sit down and you're like, "You know what we should do? An open source- ... ORM-

06:15

Søren Bramer Schmidt

Yes

06:15

Aaron Francis

... for people that don't need to pay us anything." Like, what was going through your brain when you were like, "We should build a, a library instead of, like, this sprawling, you know, service to host your back end and everything. We're gonna go open source." How, how was that, uh, decision come to? 'Cause that feels like a pretty hard turn to me.

06:36

Hey, we'll get back to the interview in just one second, but since you're here, you like databases, you probably like Postgres. Let me tell you about Mastering Postgres. This is a course that I am teaching. This is a way that you can master the most important part of your stack, your database. So go to masteringpostgres.com. Okay, back to the interview.

06:58

Søren Bramer Schmidt

That was a very hard turn. It was a very difficult- ... decision to make. Um, so we're lucky enough to be connected to a lot of people in the, uh, the Silicon Valley ecosystem, and we went and talked to, to lots of people, lots of founders who had, who had been on the open source journey, um, founders of, uh, Elastic and a bunch of other companies.

07:16

Aaron Francis

Mm-hmm.

07:17

Søren Bramer Schmidt

Um, and that got us convinced that, that this, this way of building a company that I think we now call commercial open source software-

07:26

Aaron Francis

Mm-hmm

07:26

Søren Bramer Schmidt

... uh, could work. Uh, and not only could it work, it would also be the best way for us to, to grow really, really big fast. Uh, and therefore, have a better opportunity of building a-

07:37

Aaron Francis

Mm-hmm

07:37

Søren Bramer Schmidt

... a, a big, uh, company with, with a meaningful impact on the industry. So that's really-

07:42

Aaron Francis

So-

07:43

Søren Bramer Schmidt

We, we had that ambition level, and we, we determined that this is the, the best path.

07:48

Aaron Francis

So with, uh, that makes perfect sense to me in terms of, like, gaining adoption and scale and, like, growing like wildfire 'cause it's free and open source, and you've poured in a ton of, like, a ton of engineering hours and dollars into making something that you give away for free. So people are definitely gonna love that. When you started, um, what was the, what was the long-term vision?

08:12

So if the top of the funnel is Prisma ORM, was the long-term vision in the very beginning coming back to a hosted, uh, what we now know as Postgres database? Like, w- was the vision set from the beginning, or was it one of those things where it's like, um, if we get a ton of users and we have a world-class ORM, we will figure it out, I am sure of it.

08:36

So kinda how, how did you think about the, the next step when you were at the beginning?

08:41

Søren Bramer Schmidt

I would say there was a, a, a pretty clear vision. Um, in fact, there were multiple pretty clear visions that were mutually exclusive, and that was a little bit of a problem, a, a cognitive dissonance going on, but we had-

08:55

Aaron Francis

Too, too many good ideas

08:56

Søren Bramer Schmidt

... we had some really good ideas, and we could see that they could take us to, to great places. Um, and then we decided, okay, let's just go and push really hard on this thing, and then let's learn from, from our user base. Let's see what people actually want. Um, so, so that, that got us into the situation where we, we built the Prisma ORM. We got some really good momentum, and then for a year or two we were wobbling a little bit because we were trying to learn from a user base, okay, of those visions, uh, which is the one to really go for.

09:27

Uh, and I would say with Prisma Postgres, uh, just last year is when we really settled in on, okay, this is, this is the direction that makes the most sense-

09:37

Aaron Francis

Mm-hmm

09:37

Søren Bramer Schmidt

... for our community.

09:39

Aaron Francis

So this is a, this is a throwback to Graphcool. You're back in the, you're back in the hosted game. But before, before we get there, what were the competing, like, what were the tensions? So we know where you landed because y'all had the big announcement recently, and you just said, you know, Postgres. What were, what were the other tensions that felt viable? You said we had a lot of ideas. Some were good.

09:57

Søren Bramer Schmidt

Yeah.

09:57

Aaron Francis

Uh, so of the good ones, which ones were, like, uh, competing against each other?

10:02

Søren Bramer Schmidt

So the other one that is in the extreme opposite that I think is also a really good idea is, uh, to accept the fact that the Prisma ORM is used by, we have stats for this, by 52% of the Fortune 2000 companies. That means we have, we have a lot of really, like, high-powered teams and organizations with lots of money that are using our open source software.

10:26

Aaron Francis

Yeah.

10:27

Søren Bramer Schmidt

So there is a world where you could go and, and monetize that somehow. Of course, you can, you can build a support organization. Perhaps you can-

10:33

Aaron Francis

Mm-hmm

10:33

Søren Bramer Schmidt

... build additional software infrastructure that you can sell. It could be more of an, an open core model. Um, we didn't choose to go that way because even though we have many teams inside large organizations, uh, one, they move slow, and two, it's still a pretty small subset of, of the overall Prisma user base.

10:56

Every month there's about a million developers that are using the Prisma ORM. Um-

11:00

Aaron Francis

Beautiful

11:00

Søren Bramer Schmidt

... and yes, some of them are in large enterprises, but the majority of them are in much smaller companies, in startups, in agencies. Um, and people in those settings, developers in smaller companies, they move a lot faster. They're a lot more willing to adopt new things. So, so we decided that was a less risky route for us to take.

11:19

Aaron Francis

Mm-hmm.

11:19

Søren Bramer Schmidt

Let's build something that really serves this audience, and then mature it over time.

11:25

Aaron Francis

That makes sense to me. The, um, the alternative that you mentioned sounds dangerously close to, like, a consulting firm.

11:32

Søren Bramer Schmidt

Yes.

11:33

Aaron Francis

And there's nothing wrong with that, but that's not what I wanna do. Um-

11:36

Søren Bramer Schmidt

No

11:36

Aaron Francis

... and so I can imagine that was a big, like, what do we actually want to do question-

11:41

Søren Bramer Schmidt

Yeah

11:41

Aaron Francis

... probably played a pretty big role. Um, 'cause yeah, if you've got, you know, 50% of the Fortune 2000 or whatever, you've got lucrative consulting contracts that are just waiting for you to come by and pick them up. But then-

11:53

Søren Bramer Schmidt

That's right

11:54

Aaron Francis

... you're embedded in the bowels of some massive, you know, bureaucracy, and that-

11:58

Søren Bramer Schmidt

Yeah

11:58

Aaron Francis

... doesn't sound terribly exciting.

12:00

Søren Bramer Schmidt

You can build a great business that way, but it's-

12:02

Aaron Francis

Yes

12:02

Søren Bramer Schmidt

... we, we learned that's not the kind of business we want to be building.

12:06

Aaron Francis

Yep, which is a totally reasonable conclusion to come to. So, um, you decided- Not to do the, you know, the consulting, licensing, support, uh, org, that sort of stuff. What was the first thing ... Because you, you're not just an ORM, as we've already alluded to, but you're also not just Prisma Postgres. There's a bunch of stuff that, like, happened in the middle there.

12:27

Um, so tell me about some of the, like, products that you, after, after having landed the ORM, you've got adoption, you've got traction, then you decide, you look up and you decide, "We wanna do what?" Is it Studio, Optimize, Accelerate? Like, what happens next, and what was kind of the thought process to get that next step?

12:45

Søren Bramer Schmidt

So let's talk about Pulse and Accelerate, because those-

12:48

Aaron Francis

Okay

12:48

Søren Bramer Schmidt

... are really the, uh, the key products, uh, as part of this vision. We ... So when we made this decision that we're not gonna go and do consulting for the enterprises, we want to build, uh, a, a hosted product that serves, uh, smaller companies, then the question is how do we get there? Um-

13:07

Aaron Francis

Mm-hmm

13:07

Søren Bramer Schmidt

... and we, we made the decision early on that we do not want to host databases. That was a decision we made. Lots of people, lots of people came to us-

13:15

Aaron Francis

Okay

13:15

Søren Bramer Schmidt

... and said, "Can we just get the database from, from you guys, because we all, we love Prisma, we love the Prisma brand."

13:21

Aaron Francis

Mm-hmm.

13:21

Søren Bramer Schmidt

"We don't really want to go out and figure out where to buy and host a database." We said, uh-

13:26

Aaron Francis

I'm looking, I'm looking forward to when that decision comes back, uh, to us.

13:29

Søren Bramer Schmidt

Yes.

13:29

Aaron Francis

But keep going, keep going.

13:31

Søren Bramer Schmidt

We said there are lots of companies that do hosted databases. There, there are new-

13:34

Aaron Francis

There are

13:35

Søren Bramer Schmidt

... new, new, new companies are coming that are doing great, innovative things.

13:39

Aaron Francis

Uh-huh.

13:39

Søren Bramer Schmidt

We don't need to be a part of that. We would like to be in between the application and the database, and help you do smart things. Um, at the time, we spent a lot of, uh, time with engineers at Facebook, and we were really fascinated by the, the way application developers at Facebook work. Obviously, Facebook stores, uh, data in databases, but the way you interact with that data is through a, uh, a data access layer that takes care of, uh, of caching, of connection pooling-

14:09

Aaron Francis

Cool

14:09

Søren Bramer Schmidt

... and of permission checking. So that means as an application developer working on one of the Facebook applications, you don't need to do any kind of checking to make sure that the data you're about to show to a user is actually something the user's allowed to see. That is managed on a layer beneath. So that idea was the foundation for Accelerate, an infrastructure component-

14:28

Aaron Francis

Okay

14:28

Søren Bramer Schmidt

... in between your database and your applications that does all the boring technical stuff to make it-

14:32

Aaron Francis

Mm-hmm

14:32

Søren Bramer Schmidt

... fast and scalable. And also is a place for you to implement permission logging, uh, permission, uh, policies, rules, such that you, in your application logic, can just focus on what you, you need to do, what, what feature you're building. You don't have to worry about, uh, attacks-

14:49

Aaron Francis

Mm-hmm

14:49

Søren Bramer Schmidt

... attack vectors and so on.

14:53

Aaron Francis

Interesting. So I was under the impression, uh, Accelerate was really focused on, um, that kind of, like, connection pooling, get to the closest, get to the closest endpoint, and then we'll, you know, backhaul it to your database as quickly as we can. Um, like one connection string, edge network, that kind of stuff.

15:18

But you're telling me there's a whole, uh, kinda like, um, what do we call it, RBAC. There's a whole, like, a access layer built into Accelerate. It's not just, like, a global query speed-up thing?

15:30

Søren Bramer Schmidt

That's correct, but that feature isn't released yet. It's gonna be out in a-

15:34

Aaron Francis

Ooh

15:34

Søren Bramer Schmidt

... in a couple of months. Um-

15:35

Aaron Francis

Okay

15:35

Søren Bramer Schmidt

... it has been part of the plan from the-

15:36

Aaron Francis

Breaking news. All right.

15:39

Søren Bramer Schmidt

Part of the plan from the beginning, but we really wanted to get the fundamentals right first.

15:43

Aaron Francis

Mm-hmm.

15:44

Søren Bramer Schmidt

Um, we had the luxury of, of, of time, building things proper. Our learning from the early days of GraphQL was it is, it is extremely important for us to build something that can actually be used by real applications in production. Uh-

15:57

Aaron Francis

Mm-hmm

15:57

Søren Bramer Schmidt

... so Accelerate now is a solid foundation. We do billions of requests per day. Um, that part works, and now we're adding the, the permission system on top of it.

16:07

Aaron Francis

Wow. Okay. Well, that's why I didn't know, because it's not out there yet, and maybe I haven't read enough press releases, but that's very cool. That's, that's very exciting. So that's Accelerate. Um, you mentioned also Pulse, which is, uh, from my understanding, and correct me if I'm wrong, please, is a way to basically, like, uh, subscribe to changes or, like, real-time updates from, uh, your database.

16:30

Is that close?

16:32

Søren Bramer Schmidt

That's entirely right. So it's based on a, on a concept called CDC, change data capture.

16:37

Aaron Francis

Mm-hmm.

16:37

Søren Bramer Schmidt

And it's a, it's a, a well-established, uh, uh, industry system where you can have an external application that subscribes to changes from a database. So Pulse, uh, handles that for you. Whenever there's a, an insert, delete, and update in the database, one event is triggered, captured by Pulse, and stored forever in cheap cloud storage.

17:00

Um, so that means you can go back in time and replay events that has happened in the database.

17:06

Aaron Francis

Hmm.

17:06

Søren Bramer Schmidt

Or you can just subscribe to things that are happening right now. So that's interesting, for example, if you have a decoupled architecture where you need one part of your application to be able to listen to events that another part of the application is, is performing. But it's also relevant if you have a, a UI that you want to, to keep up to date.

17:27

You want to, to have-

17:28

Aaron Francis

Mm-hmm

17:28

Søren Bramer Schmidt

... changes from a database stream in real time in, in the front-end UI.

17:33

Aaron Francis

So this is fascinating to me, because at this point in the story, y'all still don't own the database.

17:41

Søren Bramer Schmidt

Correct.

17:41

Aaron Francis

You're still, like, trying to intuit all of this on the fly based on queries that are flying from the end user through you to the actual database. And so you're watching this entire stream of stuff, you know, queries come in and results go back, and you're doing pretty impressive work without actually owning the database.

18:03

So that's interesting to me. Now, the question, I guess, is with Pulse, how are you ... So you're watching these queries come in, and you notice, uh, somebody updates the users table. Then what do you do... Assume, uh, I presume you've got some list of subscribers there, and what are the subscri- the subscribers saying? Are they saying, "Notify me when the users table changes," or, "Notify me when Aaron, user ID number one, updates his record"?

18:31

Or are both possible?

18:33

Søren Bramer Schmidt

Uh, so first let's talk about how Pulse gets the events out of the database. Uh-

18:37

Aaron Francis

Yes

18:37

Søren Bramer Schmidt

... it doesn't actually look at the data coming into the database. Instead, it sets up a replication slot inside the database.

18:44

Aaron Francis

Ah, there we go.

18:44

Søren Bramer Schmidt

It's called different things in different databases, but this is native, uh, database functionality. Uh, so that enables us to-

18:51

Aaron Francis

So real quick, you, you have the user or, or the developer has their own database anywhere, let's say-

19:00

Søren Bramer Schmidt

Yes

19:00

Aaron Francis

... RDS for whatever, and you as Prisma say, "Hey, set up a replication. Here's all the details." And then you start consuming, you know, binlogs or whatever. You start consuming all of those, and so that's where you're not just observing queries flying through, although you are, you're also observing the writes, uh, all the changes that are coming out of the actual database.

19:23

Søren Bramer Schmidt

That's correct.

19:24

Aaron Francis

Okay, cool.

19:24

Søren Bramer Schmidt

So if you have a, if you have a, a foreign key with a cas- cascade constraint, for example-

19:29

Aaron Francis

Mm-hmm

19:29

Søren Bramer Schmidt

... and you delete one thing, that triggers lots of other things to be deleted, they will be individual events that, that-

19:35

Aaron Francis

Yeah

19:35

Søren Bramer Schmidt

... Pulse captures all of them.

19:37

Aaron Francis

Okay. So very helpful correction to my understanding. So let's go back to, um, when the users or, or the, the applications subscribe, how granular can they subscribe?

19:50

Søren Bramer Schmidt

Um, so we support one level of filtering. You can either say, "Give me any events for the table," or you can filter on, uh, on scalar values within that table. So if you have-

20:04

Aaron Francis

Hmm

20:04

Søren Bramer Schmidt

... uh, you can say only for this user ID, for example.

20:08

Aaron Francis

Okay. That seems like a reasonable place to cut it because when, when you were talking about that, I thought, "Boy, that sounds like proper computer science." Like, really, really hard problem to do, you know, capture change data and then see if it applies to this-

20:23

Søren Bramer Schmidt

Yep

20:23

Aaron Francis

... super complicated query that the user... So that makes like, that's very, a very reasonable line to draw. Like-

20:29

Søren Bramer Schmidt

It, it dramatically-

20:31

Aaron Francis

... you can do the table, or you can do a scalar.

20:32

Søren Bramer Schmidt

It dramatically simplifies, uh, the computational profile of running that query. At some point we would like to be able to, to also do filters across joins, essentially the entire-

20:42

Aaron Francis

Sure

20:42

Søren Bramer Schmidt

... uh, Prisma API surface. But to be able to do that effectively, we will need to do what is known as incremental view maintenance. Um-

20:51

Aaron Francis

Mm-hmm

20:51

Søren Bramer Schmidt

... so there is an open source system called Apache Flink. There are modern versions of this written in, uh, in Rust, and we'll be able to run systems like this to do that, uh, filtering across joins effectively. Uh, it's just a lot of machinery to set up, so we'll get there one day.

21:09

Aaron Francis

That, um, sounds truly fun, but also very difficult. I mean, that sounds like- ... a really, really fun problem for, like, you know, four people to go away for three months and not talk to anyone, and then come back, you know, with the golden tablets. That, that sounds like a blast.

21:26

Søren Bramer Schmidt

Yeah.

21:26

Aaron Francis

But boy, that's gonna be a, that's gonna be a hard project.

21:30

Søren Bramer Schmidt

It's f- for a later time, for sure.

21:32

Aaron Francis

Yes, for a later time. So you're starting to round out the, the product offering. Talk to me, if you're able, uh, talk to me about, like, the business at this point. Like, at this point in the story, you've got Prisma, the ORM that's beloved, used by everybody, then you're starting to add on these, these products. Uh, we didn't talk about Studio. But you've got these, these, you know, some paid, some free conglomeration tiers.

21:56

Like, where does, what's the state of the business at this point? You, you look up, you've got Accelerate, you've got Pulse, you've got the ORM. How many people do you have? I- are things working? And, like, how does, what's the mood inside the company as you're, like, gaining steam here?

22:13

Søren Bramer Schmidt

So we are, we have this open source project that is just growing phenomenally. Uh, as I mentioned-

22:18

Aaron Francis

Mm-hmm

22:18

Søren Bramer Schmidt

... about a million developers every month using it now, and continuing to grow, uh, at a, at a fast pace, uh, month over month. And then we have the beginning of a commercial business. We have launched Accelerate.

22:30

Aaron Francis

Mm-hmm.

22:30

Søren Bramer Schmidt

We've launched Pulse. Um, they're both growing h- healthily, but they are kind of niche products. Um, if you look at the entire, uh, Prisma ORM user base, it's a very small subset of this user base that has a real need for, for Accelerate or for Pulse.

22:49

Aaron Francis

Mm-hmm.

22:50

Søren Bramer Schmidt

Um, so we did this, uh... F- for a while we were confused about the numbers we were seeing on the Prisma-

22:57

Aaron Francis

Hmm

22:57

Søren Bramer Schmidt

... data platform, our commercial product. We saw lots of people sign up, but we saw activation numbers that were much lower than we would expect them to be. Um-

23:06

Aaron Francis

Mm-hmm

23:07

Søren Bramer Schmidt

... uh, so we, we talked to people. We tried to figure out what is going on, and eventually we, e- eventually we, we, we figured out what was happening. And what was really happening is that, uh, more than half of everybody signing up to our cloud product were not existing Prisma users.

23:24

Aaron Francis

Hmm.

23:25

Søren Bramer Schmidt

And of the half that were Prisma users, half of them, they didn't want any of our existing products. They wanted a different product. Something like three quarters of everybody signing up to our cloud product, they wanted a hosted database. Um-

23:37

Aaron Francis

Hmm

23:37

Søren Bramer Schmidt

... and why did they come to us for a hosted database when we don't have a hosted database, and we're pretty adamant that we don't want to have a hosted database? It's because the Prisma brand was so, uh, powerful, so successful. People know that Prisma is a database company.

23:51

Aaron Francis

Mm-hmm.

23:51

Søren Bramer Schmidt

So they want a hosted database, they go to the Prisma website. Even if they have never used it before, they sign up because obviously a hosted database you need to sign up. And then they just click around, and they are, like, furious because there are no databases. Um-

24:03

Aaron Francis

Amazing

24:03

Søren Bramer Schmidt

... so that's what we saw, and that was the low conversion numbers. Um, as soon as we introduced Prisma Postgres, even in early access with a big disclaimer, "Do not use this thing"-

24:14

Aaron Francis

Do not use this.

24:16

Søren Bramer Schmidt

... uh, our conversion numbers, uh, went straight to where we wanted them to be, uh, because now we have the product-

24:21

Aaron Francis

Wow

24:21

Søren Bramer Schmidt

... that people are actually looking for.

24:24

Aaron Francis

So let me say it back to you. You're, you're building this ORM that everybody loves. You're building these products that are extremely powerful, but turns out the normies most, like the majority of people don't actually need them. They're just happy like running their queries and building their apps. And so you're in this position where you've objectively built something great, but nobody wants to buy it, and you're like watching these people log in and sign up, which first of all, getting

24:55

developers to sign up for anything is already hard. You got them to sign up, and then they get in there confident that you have a database because you're Prisma.

25:04

Søren Bramer Schmidt

Yes.

25:04

Aaron Francis

And then they click around and they're like, "What the heck? Their freaking-

25:07

Søren Bramer Schmidt

What?

25:07

Aaron Francis

... database company doesn't have a database."

25:09

Søren Bramer Schmidt

What's going on here? That's upsetting.

25:10

Aaron Francis

Yeah. So in my opinion, this is, uh, this is one of those examples of, um, the market dictating what you must do. This is the-

25:20

Søren Bramer Schmidt

Yes

25:20

Aaron Francis

... market saying, "Hey dummies, y'all gotta have a database." And so early on, early on, not 10 minutes ago, you said, "We do not want to have hosted databases."

25:32

Søren Bramer Schmidt

Yeah.

25:32

Aaron Francis

We w- we're very adamant that we don't wanna have hosted databases. Enter Prisma Postgres. So was it just overwhelming, you just couldn't ignore it? Or talk me through that decision process.

25:44

Søren Bramer Schmidt

Remember I also said that we had these parallel visions that were-

25:48

Aaron Francis

Mm-hmm

25:48

Søren Bramer Schmidt

... kind of conflicting, and our plan was to go and listen to our users and, and see where they would take us. Um-

25:55

Aaron Francis

Novel concept, by the way. Actually listening to your users. That's pretty good.

25:59

Søren Bramer Schmidt

I will say running a business gets a lot easier when you start listening to your customers. That's a, that's a pro tip.

26:05

Aaron Francis

Yeah.

26:05

Søren Bramer Schmidt

Um-

26:05

Aaron Francis

That's a good one. Hard, hard-won knowledge from the CEO there.

26:10

Søren Bramer Schmidt

So w- we, we, we looked at the data. We talked to, to people signing up to our cloud product, and it was just overwhelmingly clear that there is a great business to be built by Prisma, the brand, building a, a hosted database.

26:24

Aaron Francis

Mm.

26:24

Søren Bramer Schmidt

So we started thinking, "Okay, if we are to build a hosted database, we want it to be better somehow. We want it to be different."

26:31

Aaron Francis

Sure.

26:31

Søren Bramer Schmidt

"We want it to embody the, uh, the Prisma value. We want it to feel like a Prisma database." So what does that mean? Um, and for a long time we had, uh, we had really been thinking that the kind of database Prisma users want is a, is a database that, uh, looks nothing like traditional databases.

26:49

Aaron Francis

Mm.

26:51

Søren Bramer Schmidt

Um, this transition we have gone through in, in computing in general-

26:54

Aaron Francis

Yeah

26:54

Søren Bramer Schmidt

... over the last 10 to 15 years is that, um, everything is easy. You don't have to babysit things. It used to be that, uh, you had this bespoke server you had to, to manage, and now you don't do that anymore. You do Docker, Kubernetes, whatever. If something doesn't work, you just tear it down, bring it up again. Now you use serverless functions. And that is not the experience people have with databases.

27:16

In the world of databases, you are back to this one fragile thing that you really have to babysit and be really careful to not delete your data, this kind of thing. Uh-

27:24

Aaron Francis

And it's the most important thing in your entire business, but it's also the most fragile.

27:28

Søren Bramer Schmidt

Yeah. It is, and people don't want to touch it because something could go wrong.

27:32

Aaron Francis

No, who does that?

27:33

Søren Bramer Schmidt

Um, so we wanted databases to be more like pages in Notion. Creating a database should be like creating a page in Notion. That was kind of the initial idea. Um, so that led us down this, uh, uh, very interesting path of working with, uh, with the team at Unikraft, uh, implementing unikernels in microVMs in order to make running databases exceptionally cheap.

27:57

So we now have this architecture that enable us to run, uh, millions of databases on a single server, uh, at very low cost. Um, so with this we can do a very generous free tier, which we think is important, but also we can enable you to, to just create lots and lots of database and not have to worry about it.

28:18

Aaron Francis

So you'll have to forgive me. Unikernels are below, um, below where I normally stop on the stack, and also above my pay grade.

28:26

Søren Bramer Schmidt

Me too.

28:26

Aaron Francis

So t- yeah. T- talk me through like, you said millions on a single server, and my eyebrows went up because that's insane to me. So, um, I barely understand, uh, you know, Firecracker, Lambda, microVMs. Um, help me understand a little bit better to the extent that you know, it sounds like you worked with a wonderful outside team. But help me, help me understand this unikernel thing and where that, like w- that sounds like an innovation to me.

28:53

That sounds like a new thing.

28:54

Søren Bramer Schmidt

Yes.

28:54

Aaron Francis

So help me understand that a little bit better.

28:57

Søren Bramer Schmidt

Um, so unikernels is something I've been aware of since I studied computer science, but it has never really been a practical thing. It's been this new idea of how you could do an operating system that is more, uh, that is more effective. Uh, when you're using a Mac, a Linux, uh, something like this, you have a general purpose operating system.

29:17

Aaron Francis

Mm.

29:17

Søren Bramer Schmidt

And that operating system can run, uh, many applications at the same time, and the operating system makes sure that they don't, uh, interact in bad ways, that they can't read each other data, that, that they don't crash.

29:29

Aaron Francis

Mm.

29:29

Søren Bramer Schmidt

But when you're running a, a high-performance server, you're usually running one thing. So all of that checking that the operating system does, it, uh-

29:37

Aaron Francis

Oh, interesting

29:38

Søren Bramer Schmidt

... it introduces overhead that you have to pay for, even though it brings you no value.

29:42

Aaron Francis

Mm.

29:42

Søren Bramer Schmidt

So the idea of a unikernel is to say, what if we made a specialized operating system that is designed not only for running just one application, but for running your application? Uh, that is the only thing this operating system can do, it is c- it can run your application. So in our case, that application, of course, is Postgres. We are literally running operating systems that, that can do nothing else but start-

30:05

Aaron Francis

Hmm

30:05

Søren Bramer Schmidt

... uh, and run Postgres. Um, and that means that-

30:09

Aaron Francis

That's very cool

30:10

Søren Bramer Schmidt

... one, the operating system and Postgres, they're compiled into one program that runs together. And two, there is no, uh, there's no overhead whenever you go and do IO, whenever you read from disk-

30:22

Aaron Francis

Uh-huh

30:22

Søren Bramer Schmidt

... whenever you talk to the network. All of that checking that happens in a traditional operating system, it's gone. You don't need to pay for it.

30:28

Aaron Francis

'Cause there's nobody else there.

30:30

Søren Bramer Schmidt

Yes. It's just you.

30:33

Aaron Francis

That is really fascinating.

30:36

Søren Bramer Schmidt

So that is what Unikraft does, and that is called unikernels. And we, uh, uh-

30:40

Aaron Francis

And now Unikraft is what? I- Is a, is a company? Is a consulting arm? Is a open source project? What is Unikraft?

30:47

Søren Bramer Schmidt

Unikraft is a company that came out of academia that have been going for, for a long time.

30:52

Aaron Francis

Oh, cool.

30:52

Søren Bramer Schmidt

And just the last, uh, year or two they started to kind of, uh, poke their head up and say, "We are a company now. You can, you can come and work with us." So it's open source, but then they are doing a, a management solution around that, that you can pay for. They have a cloud product. You can go and deploy an application to their cloud product. It's ... You could think of it as a competitor to, to Vercel and Netlify.

31:16

Aaron Francis

That's interesting. So the professors had their heads down and were writing papers-

31:20

Søren Bramer Schmidt

Yes

31:20

Aaron Francis

... all this time, and then were like, "All right. We're a company." And then Prisma says, "Great. You're the world's foremost experts on this. Why don't you help us-"

31:28

Søren Bramer Schmidt

Yes

31:28

Aaron Francis

... "make this thing?"

31:29

Søren Bramer Schmidt

Come help us with this thing. So the unikernel is one aspect, and that is, that is the, the database that we are running.

31:35

Aaron Francis

Okay.

31:35

Søren Bramer Schmidt

And then I said we can run millions of databases on a single server.

31:38

Aaron Francis

Sure.

31:39

Søren Bramer Schmidt

Um, so these databases are running inside a microVM. Uh, we're using Firecracker that was developed by AWS, and Firecracker is the same thing that powers AWS Lambda and a number of other things they are doing. Um, uh, it's, it's different from something like Docker, uh, in that it is a real hardware isolation.

32:03

If you run multiple Docker containers, well, uh, somebody could figure out how to break out of them and interact with the rest of your system because they are not a real, uh, virtual machine. But normal virtual machines are really slow. If you work with VMware-

32:16

Aaron Francis

Right

32:16

Søren Bramer Schmidt

... something like that, it takes seconds to start them. So what, what the Firecracker team did is they, they created this m- microVM that has the, the isolation characteristics of a, of a real virtual machine, but starts up really, really fast. Um, so that's what we are making use of. And then inside that microVM we are running the, the Postgres, uh, unikernel.

32:41

Aaron Francis

So if Firecracker powers Lambda, I think it powers Fly.io's, uh-

32:48

Søren Bramer Schmidt

Yes

32:48

Aaron Francis

... VMs, I think. Is that right?

32:49

Søren Bramer Schmidt

That's right.

32:49

Aaron Francis

Okay. Um, and so it's a well, well-understood, well-executed, everybody knows Firecracker. Firecracker is a great solution. So inside of ... Y- You've got a big server, and then you've got a bunch of microVMs powered by Firecracker. Inside those microVMs you have, uh, a unikernel. Is that right?

33:07

Søren Bramer Schmidt

Correct.

33:07

Aaron Francis

So each microVM has a one single ... Okay. So you have a unikernel inside there. Where is, um ... We'll talk about who the actual, you know, the server host is, but before we do that, where's the storage?

33:20

Søren Bramer Schmidt

The storage is on the machine. Um, so that's a decision we made early on. We want to, we want to, we want this to be really, really fast, and we want to be able to run-

33:30

Aaron Francis

Yeah

33:30

Søren Bramer Schmidt

... millions of databases on a single machine. So we are running on bare metal servers, not a traditional-

33:36

Aaron Francis

Mm

33:36

Søren Bramer Schmidt

... cloud VM. Um, and we have lots of, uh, of fast NVMe disks attached-

33:42

Aaron Francis

Mm

33:42

Søren Bramer Schmidt

... directly to that host server. Um, now there's a challenge-

33:46

Aaron Francis

Oh

33:46

Søren Bramer Schmidt

... with that, and the challenge is that now you only have the data on one server, so what happens if that server burns, crashes? Um-

33:55

Aaron Francis

Or you get a ... You have to re-home somebody because they have too much data or something like that, right?

34:00

Søren Bramer Schmidt

Yeah. You need to rebalance your, your server or something like this. Um, and we solved this by making use of Pulse because Pulse is this thing that takes every single data change and stores it durably on cloud storage. Um, so in less than a second your data is, one, written to local NVMe, but also backed up to external cloud storage.

34:23

Aaron Francis

That's pretty good. That's pretty smart.

34:26

Søren Bramer Schmidt

Um-

34:26

Aaron Francis

These are, these are the types of, um, delights that, like, I don't know if you stumbled on it, but I'm sure that at some point you're building this out and you're like, "We need ... Oh, wait. We have. Hang on. This could work."

34:37

Søren Bramer Schmidt

Yes. Yes.

34:38

Aaron Francis

And then you're like, "Yeah, let's plug it in and see if it works." That's, that is the fun thing that happens after being in the game for so long. So, uh, you just mentioned something that is hot in the cultural discourse, bare metal servers. So- Wow. Cloud exit. So tell me, what, like, what's your, what's your actual setup? Where are they?

34:59

Uh, who manages them? That sounds like a, uh, that sounds like a potentially controversial decision. Um, but my assumption is if you're optimizing for what you're optimizing for, which is, uh, tight packing, high speed, high performance, you kind of have to do it yourself. So tell, tell me about that.

35:20

Søren Bramer Schmidt

W- So we realized it would be cost-prohibitive to do this on, on AWS. You can rent, uh, bare metal servers on Amazon, um, but they are extremely expensive, and-

35:31

Aaron Francis

Mm

35:31

Søren Bramer Schmidt

... we don't get the amount of, uh, disk IO that we really want. Um, when we are pausing and resuming, uh, these database instances, we are writing memory snapshots to disk and reading them off disk again. Um-

35:45

Aaron Francis

Wow

35:45

Søren Bramer Schmidt

... and we just need lots and lots of disk bandwidth for that.

35:48

Aaron Francis

Mm.

35:49

Søren Bramer Schmidt

Um, so right now we are operating on bare metal servers that are hosted by Vultr. Uh, Vultr-

35:55

Aaron Francis

Okay

35:55

Søren Bramer Schmidt

... is a relatively well-known company. Uh, that works well, but when we get to a certain scale we're gonna rent, uh, actual colocation space and set up our own servers.

36:06

Aaron Francis

Wow. Make sure you write a big lengthy blog post about it that people can argue about. It'll bring a lot-

36:10

Søren Bramer Schmidt

I know

36:10

Aaron Francis

... it'll bring a lot of people to your site, for sure.

36:12

Søren Bramer Schmidt

This is a, it's a very popular topic, I have noticed.

36:15

Aaron Francis

It is. So, um, so you're in this spot where you're getting these bare metal servers, you're doing all this seemingly innovative stuff like inventing new things. What, how do you go to the market and say, uh ... Y- You can't go to the market probably and say, "We did unikernels," because everybody's gonna be like, "What the hell is a unikernel?" Just like I did- ...

36:37

not, not two minutes ago. So then you go to the market, what do you do when you walk out and you say, "We're doing Postgres now." What is your like, "But I promise it's..." What? How is it different?

36:49

Søren Bramer Schmidt

It's different. It's better.

36:50

Aaron Francis

Yes.

36:51

Søren Bramer Schmidt

So we did actually go and talk about the, the unikernel stuff, and that, uh, that got a lot of attention. But then the other part-

36:58

Aaron Francis

And that, I, I do think the Hacker News crowd probably ate that up, if I had to guess.

37:02

Søren Bramer Schmidt

Yes. Yes, indeed. Uh, but then the other point that is actually important, that is the, uh, the developer experience. What has allowed us to build such a popular brand and continue to grow our user base is our relentless focus on developer experience. We want it to be a, a good experience to use our tools. We want it to be easy to do the right things.

37:23

Uh, we want to remove friction. Um, it should be a delight to build applications. Uh, so we want that to carry into working with the database too, the hosted database. Um, so because we, we own all of the tools, we own the Prisma schema, we own the CLI you use to initiate a, a project, uh, we make it really, really easy for you to set up your schema, your local environment, and a remote database.

37:50

Aaron Francis

Mm.

37:51

Søren Bramer Schmidt

In fact, if you create a new Prisma project using the Prisma CLI, you'll get to a interactive CLI prompt that'll ask you, "Hey, do you want a database?" And if you say yes, within a few seconds you have a live database, you're ready to go.

38:05

Aaron Francis

Boy, that is an unstoppable advantage that Prisma has at this point, because you're in so many places. You're in the deve- the minds of developers and their applications, and now you can just say, "Hey, we have the thing you've always been looking for. Do you want it?" And they can say yes, and that's-

38:21

Søren Bramer Schmidt

Yes

38:21

Aaron Francis

... now a customer. That, well, that makes perfect sense to me. So, um, talk to me a little bit more about some of the technical side. So Vultr's hosting or, I guess, managing these, uh, bare metal servers, um, how many, how many locations are they in? What's the story on connectivity, the whole edge thing?

38:41

Are you still, are you still recommending that people put Accelerate in front of that? Or like, what is the, the technical implementation for the application developers? Do they get one connection string and that, like, load bal- uh, geographically balances or... Tell me anything about that, 'cause there are lots-

38:58

Søren Bramer Schmidt

Yeah

38:58

Aaron Francis

... of questions that I, I want to know.

39:00

Søren Bramer Schmidt

So we made lots of decisions here, and some of those will be, uh, controversial with some people. Uh, but we made them for good reasons, and we made them because we want everything to lead to a great developer experience.

39:12

Aaron Francis

Okay.

39:12

Søren Bramer Schmidt

Um, so we are pretty confident we can get to a point where we have, uh, the fastest, uh, database hosting service in the world because we are not relying on EBS disks and the cloud and all this stuff. We own bare metal servers which directly attach to NVMe storage. That's gonna just be really, really fast. Um, from a developer experience perspective, we wanted to have a single, uh, a single connection string, a single endpoint that, that works no matter where you're connected from.

39:41

Um, and that has been a part of the Accelerate design from the beginning. So when you connect to Accelerate, you have one endpoint. That gets you to Cloudflare, so that'll typically be, uh, a data center right next to your-

39:56

Aaron Francis

Right

39:56

Søren Bramer Schmidt

... to your AWS region, or if you're connecting from a serverless function, so from, from the browser, it'll be in your own city.

40:04

Aaron Francis

Mm.

40:05

Søren Bramer Schmidt

Uh, and that's where we do all of the, the, the authorization, the routing, uh, and we go directly from there to the region that has, uh, your database and directly to, to your database. And when you're using Prisma Postgres, all your queries go through Accelerate. Um, it's not a thing you have to enable, it's not something you can disable. It's just-

40:23

Aaron Francis

Gotcha

40:23

Søren Bramer Schmidt

... there. It's just a part of the system.

40:26

Aaron Francis

Okay. Well, that makes, that makes sense to me. And again, another, uh, another, like, serendipitous thing that you now have a database, and you can just plug in one of your other, uh, offerings into the stack, and it just makes everything better. And I do like that it is transparent. People don't have to, you know, enable that part. Because if it is a best practice, you should do that for me, and it sounds like-

40:48

Søren Bramer Schmidt

Yep

40:48

Aaron Francis

... you agreed and did it for us, so that's quite nice. Um, talk to me about like, um, workloads, workloads that you're going after now and the vision for the workloads that you're going after in the future. Because when I hear you say, like, "We can, we can start and stop immediately. It's super fast. Uh, you can wake on request or wake on query," I presume, um, that sounds to me like a either sporadic workflow or a, um, like a staging workflow

41:18

or something like that. So capturing those, in my opinion, capturing those people at the beginning makes a lot of sense because then they know, like, and trust the hosted database offering. Are you focused on those workloads right now, and how far up can you scale, um, like how, how big, how wide, how, how tall can you scale, uh, one of these Prisma Postgres?

41:43

Søren Bramer Schmidt

Um, so these bare metal servers we are running on, they are really fast. They are, they are, uh, equivalent to the most expensive servers you could get from AWS-

41:53

Aaron Francis

Mm-hmm

41:53

Søren Bramer Schmidt

... uh, that you would pay, uh, almost $20,000 a month for. Um, right now we, we limit the scalability of every single database. Um-

42:02

Aaron Francis

Okay

42:02

Søren Bramer Schmidt

... but because bare metal servers are so much cheaper, uh, than what you can rent from AWS, we are going to be able to have those servers running at relatively low, uh, um, capacity. And that means we will enable you to, to, to scale up really, really high if that's what your workload, uh, demands. Um, we have a significant cost advantage compared to anybody building out on, on the traditional cloud providers.

42:28

Uh, so, so yes, small, bursty, intermittent workloads are great because, uh, you only pay for the queries you send. You don't have to-

42:36

Aaron Francis

Mm-hmm

42:36

Søren Bramer Schmidt

... to pre-provision a server and pay $200 every month, something like that. You can create one database, 100 databases. You only pay for the queries you send. But real workloads at high scale is great too, um, because we can go and scale up really, really high on a single instance. Um, and if you scale to, to an amount where, where that, that host gets saturated, we start moving some of the databases off to other hosts, and we make room for you.

43:02

Um, so that's where we will get to, and it'll, it'll take us a, a few months to really build out that, that scalability story. In the beginning, we are very focused on making sure that the system remains stable. Um-

43:13

Aaron Francis

Mm-hmm

43:13

Søren Bramer Schmidt

... and as we continue to, to, to prove out, uh, this auto-scaling system, we'll enable you to, to scale much higher.

43:22

Aaron Francis

Yeah. That's, um, that's very interesting. The... It's just, it's just like a risk-reward calculation. Do we, do we do our own servers? And it, you know, it sounds like it's working great, but it is a huge risk. It's expensive. Like, you've gotta-

43:40

Søren Bramer Schmidt

Yes

43:40

Aaron Francis

... you've gotta either keep them alive yourself or trust Vulture to keep them alive, and Vulture is amazing, but it's like nobody got fired for choosing AWS, right? And so that sounds like a, that sounds like a, um, a big risk, but it sounds like it is paying off in ways that create a moat for Prisma Postgres that potentially other providers couldn't, couldn't do without basically doing the same thing, getting their own servers.

44:05

Søren Bramer Schmidt

It's a significant market risk, right? Because as you get to, to larger companies, to enterprises, they, they are running all of their things in AWS, and they want providers to also be in AWS. Uh-

44:15

Aaron Francis

Yeah

44:16

Søren Bramer Schmidt

... some of it is for latency, some of it is for, for compliance reasons, and we'll need to, to, to figure out how to navigate this. Um, eventually we will, we will establish, uh, a VPC peering. We can do that from outside AWS-

44:31

Aaron Francis

Mm

44:31

Søren Bramer Schmidt

... into an AWS, uh, VPC. Uh, and what a lot of people don't realize is that, uh, these buildings where you can rent-

44:38

Aaron Francis

Mm-hmm

44:38

Søren Bramer Schmidt

... a rack space, they are right next to the AWS buildings. In fact, if you have-

44:42

Aaron Francis

Mm

44:42

Søren Bramer Schmidt

... uh, one availability zone here and another one here, there are gonna be a lot of buildings in between, and that's where we are.

44:49

Aaron Francis

Mm.

44:49

Søren Bramer Schmidt

Uh, so we can be as close to you in AWS as the other availability zone over here. Uh-

44:55

Aaron Francis

Yeah. So that was gonna be my next question is not being on AWS, a lot of compute is on AWS.

45:01

Søren Bramer Schmidt

Yes.

45:01

Aaron Francis

And the latency to get from the compute to you, um, so it sounds like you have two things working in your favor there. One is physical location. You're maybe sitting literally between the availability zones.

45:13

Søren Bramer Schmidt

Yes.

45:13

Aaron Francis

And this other one, VPC peering, so that sounds like, um, my networking chops are pretty low as well. That sounds like creating a trusted network between you and AWS, which will lower a lot of like that overhead to get there. Is that right?

45:26

Søren Bramer Schmidt

Yeah. There's a, a compliance lift on our side to make that really work, uh, but we'll get there.

45:31

Aaron Francis

Mm.

45:32

Søren Bramer Schmidt

And then you'll be able to, to sit in your trusted environment in AWS, connect into your trusted environment in our product, uh, and there will be no access from the internet, so you are, you can remain compliant.

45:44

Aaron Francis

Gotcha. Okay. Yep. That makes sense to me. Um, so as you're looking at the future of like Prisma Postgres, it's no, it's no secret that the Postgres space is crowded. Um-

45:55

Søren Bramer Schmidt

Yes

45:55

Aaron Francis

... and there's like a lot of, a lot of Postgres companies popping up, you know, one a month at this point. And so we've already heard a little bit about like what your maybe durable competitive advantage is, which in my opinion includes the broad open source adoption and this decision to go bare metal. As you're looking forward, how do you hope to continue to differentiate outside of just DX?

46:19

How are you hoping to continue to differentiate, uh, Prisma Postgres from the other Postgres providers?

46:26

Søren Bramer Schmidt

I think the first thing to realize is that there are, um, yes, all of these new providers, one a month, uh, and we're part of that. Uh, and then there's the existing, uh, base, and AWS is a really big one.

46:39

Aaron Francis

Mm-hmm.

46:40

Søren Bramer Schmidt

Uh, on top of that, uh, the space is just continuing to grow. Um, so we are going to grow with that space, capture a meaningful slice of that, uh, new business, and then we hope to, to compete very directly with, um, with AWS. There are a lot of, uh, workloads on AWS just because.

47:02

Aaron Francis

Mm-hmm

47:02

Søren Bramer Schmidt

... not because it's the best-

47:03

Aaron Francis

Yes. Totally

47:03

Søren Bramer Schmidt

... not because it's, it's the cheapest, just because it's kind of the default. Um, so we wanna go and compete-

47:09

Aaron Francis

The safe- the safest and the easiest.

47:11

Søren Bramer Schmidt

Yeah.

47:11

Aaron Francis

You can just click the button, and it gets added to the credit card that someone else pays for.

47:15

Søren Bramer Schmidt

Yep.

47:15

Aaron Francis

It's very simple.

47:16

Søren Bramer Schmidt

And we have seen this play out in Compute where Vercel and Netlify have been able to, to very successfully compete with AWS and take meaningful business from them. And we believe we can do the same thing in the database space, just like, uh, some of these other database vendors are going to do.

47:34

Aaron Francis

Hmm. Okay. I buy it. That makes sense to me. How big is, uh, how big is the company right now in terms of people?

47:41

Søren Bramer Schmidt

We, we are, I'd say 43 people. It used to be 42, but we are a few more now.

47:48

Aaron Francis

That is a lot smaller than I expected. Y'all are doing a lot.

47:53

Søren Bramer Schmidt

Yes.

47:54

Aaron Francis

I expected it to be well over 100, 200, uh, when you start, start talking about orchestrating bare metal and, you know-

48:01

Søren Bramer Schmidt

Right

48:01

Aaron Francis

... you've got just all these different products and... Okay. Well, congrats to the team for being so, uh, so effective. I definitely thought it was gonna be bigger. Um-

48:09

Søren Bramer Schmidt

We have a, we have an excellent team of engineers that get a lot of work done, and I would say if we were hundreds of people, I would be a lot more worried about, uh, burn rate and figuring out-

48:18

Aaron Francis

Uh-huh

48:18

Søren Bramer Schmidt

... what to do next.

48:19

Aaron Francis

Yeah. That makes a lot of sense to me. Okay. Um, so here at the end, is there anything you want, you want the people, uh, listening to know or anything you want to pitch them on the future or anything that we didn't cover that you think is terribly interesting that we should dive into?

48:38

Søren Bramer Schmidt

I'll go on a little bit of a digression and just say if, if you have, uh, tried Prisma in the, in the past or, or read about Prisma in the past and decided Prisma is not for you, um, we have changed a lot in the last two years. It used to be the case that Prisma was kind of slow in startups, uh, kind of slow to do specific queries, not doing joins very well.

49:01

All of that has changed in the last two years. So if it's been a while for you, come give us a try again. Um, we are now the fastest ORM in startup performance. We do pretty good in query performance, and we have more coming, uh, this year. Uh, and then go give Prisma Postgres a try. It, it literally takes, uh, less than a minute. Use the Prisma CLI, uh, run the init command, get a hosted database.

49:26

Uh, just play around with it for a little bit.

49:29

Aaron Francis

Very cool, and, uh, hope, hope all the listeners, uh, believe Soren when he says, "Talk to us, we'll listen," because the entire story of Prisma is a story of- ... listening to the customers and doing what the customers wanted. Um, so on that note, where can people find you, and where can they find Prisma?

49:47

Søren Bramer Schmidt

The best way to talk to me is on Twitter. Uh, my DMs are open, and I invite anybody who, who is interested in, in talking, go, go just hit me up. Uh, prisma.io is, uh, the website to go. Um, we have great docs. We have a great Discord, lots of activity. Um, then of course, we are an open source project, so go, uh, talk to us on GitHub.

50:08

Uh, we have way too many open issues. We are addressing those, but we also have GitHub discussions, so come and chat to us there.

50:14

Aaron Francis

So come open a discussion. Please don't open an issue.

50:17

Søren Bramer Schmidt

Yes, no, no.

50:20

Aaron Francis

Oh, this is amazing. We'll leave links to all of that down in the notes below, whether on YouTube or in your, uh, podcast player, so you can find GitHub, Prisma, and Soren, uh, all down below. And Soren, thank you for doing this, and thank you for giving me the, uh, opportunity to ask anything I want, in your words. And, uh, this was a lot of fun. Thanks for telling us all the inside details and giving us some deep dives.

50:43

Uh, I really enjoyed this.

50:45

Søren Bramer Schmidt

Thanks, Aaron. This has been a joy. Thank you for having me on.

50:48

Aaron Francis

All right, talk soon.

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