WEBVTT

NOTE S9 Favorite: From Oracle & AWS Aurora to CTO of MongoDB: Scaling Document Databases with Mark Porter

1
00:00:01.220 --> 00:00:12.120
<v Mark Porter>The company was founded on the concept of scaling writes. Of course the world has changed in the 15 years to now, you know, many orders of magnitude more demand on our servers.

2
00:00:12.960 --> 00:00:22.700
<v Mark Porter>One of the things we have to build into the product is scalability as a feature. And one of the things I've seen in product after product is scalability is an afterthought.

3
00:00:22.700 --> 00:00:28.420
<v Mark Porter>lot. So what you'll see is they'll release a POC. It'll be awesome. They'll go to market. People

4
00:00:28.420 --> 00:00:33.020
<v Mark Porter>adopt the product. And then the product management team comes back to engineering and says, okay,

5
00:00:33.060 --> 00:00:37.080
<v Mark Porter>now we need to scale it by 10 or 100x. And they say, oh yeah, now we have to go rewrite it from

6
00:00:37.080 --> 00:00:42.000
<v Mark Porter>scratch. My name is Mark Porter and I am the CTO of MongoDB.

7
00:00:47.360 --> 00:01:00.820
<v Noah Labhart>This is Code Story, the podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back.

8
00:01:02.280 --> 00:01:12.800
<v Noah Labhart>I'm your host, Noah Labhart, and today, how Mark Porter stepped off the board and into the role as CTO and continued to build faster with MongoDB.

9
00:01:13.340 --> 00:01:15.840
<v Noah Labhart>All this and more on Code Story.

10
00:01:20.060 --> 00:01:25.800
<v Noah Labhart>Mark Porter has always been fascinated with puzzles, so tech just fit and has been a great journey for him.

11
00:01:25.800 --> 00:01:31.480
<v Noah Labhart>He got his first 4K computer in middle school and then moved into doing programming for the Department of Education.

12
00:01:32.000 --> 00:01:36.120
<v Noah Labhart>His big learning from this was that you can use tech to do social good.

13
00:01:36.500 --> 00:01:40.980
<v Noah Labhart>He's married with five kids, and as he puts it, they put up with his deep tech obsession.

14
00:01:41.900 --> 00:01:44.440
<v Noah Labhart>Mark joined the board of MongoDB in 2019.

15
00:01:45.020 --> 00:01:49.260
<v Noah Labhart>What got him excited about the company was the world-changing nature of the product.

16
00:01:49.260 --> 00:02:01.320
<v Noah Labhart>So much so that he asked to step off the board to be CTO and carry the banner to the developer community about the power of their doc-based distributed system performing database transactions.

17
00:02:02.680 --> 00:02:05.360
<v Noah Labhart>This is Mark's story with MongoDB.

18
00:02:08.180 --> 00:02:12.180
<v Mark Porter>MongoDB is a company that produces a developer data platform.

19
00:02:12.360 --> 00:02:18.000
<v Mark Porter>And that means we produce all the different pieces of software that really makes a developer want to build applications.

20
00:02:19.260 --> 00:02:22.600
<v Mark Porter>From a database, to charts, to analytics, to a mobile solution.

21
00:02:22.780 --> 00:02:26.820
<v Mark Porter>And we put it all together in a way that is just so easy for developers.

22
00:02:27.340 --> 00:02:34.880
<v Mark Porter>And frankly, that's kind of our origin story, is our two founders, Eliot Horowitz and Dwight Merriman, were trying to build an application.

23
00:02:35.540 --> 00:02:39.180
<v Mark Porter>And the current technology they had available just didn't work.

24
00:02:39.460 --> 00:02:40.600
<v Mark Porter>And they were developers.

25
00:02:40.780 --> 00:02:44.240
<v Mark Porter>And rather than giving up, they said, I don't know, why don't we just go build it ourselves?

26
00:02:44.240 --> 00:02:49.240
<v Mark Porter>And so they took some time off from the company they were building, which was DoubleClick,

27
00:02:49.340 --> 00:02:51.160
<v Mark Porter>and they actually built MongoDB.

28
00:02:51.760 --> 00:02:57.520
<v Mark Porter>And the reason they needed to build it is so that they could do writes at scale, which

29
00:02:57.520 --> 00:03:01.240
<v Mark Porter>for any of you techies out there, you know that you always want your database to be able

30
00:03:01.240 --> 00:03:03.980
<v Mark Porter>to take your write or your entire application grinds to a halt.

31
00:03:04.420 --> 00:03:09.480
<v Mark Porter>And then over time, they figured out that they could make it easier for developers by

32
00:03:09.480 --> 00:03:10.900
<v Mark Porter>using a document model.

33
00:03:10.900 --> 00:03:24.300
<v Mark Porter>And to this day, even though we've done so much over the last 15 years, the whole concept of being able to read and write at scale and the concept of using the document model are still two of the main tenets of MongoDB's success.

34
00:03:26.380 --> 00:03:30.160
<v Noah Labhart>Tell me about what would be your MVP, Mark.

35
00:03:30.260 --> 00:03:37.180
<v Noah Labhart>So when you joined Mongo, what was the MVP or what was the product you took on, the state of the company?

36
00:03:37.240 --> 00:03:38.240
<v Noah Labhart>Tell me a little bit about that.

37
00:03:38.240 --> 00:03:39.020
<v Mark Porter>I

38
00:03:39.020 --> 00:03:51.640
<v Mark Porter>joined the board in 2019 and then got so excited with the company and its potential and the fact that fundamentally MongoDB had the chance to change the world that I actually asked to step off the board and step up as CTO.

39
00:03:52.700 --> 00:04:04.720
<v Mark Porter>But what got me going was the fact that we had this product that a lot of people didn't know about and still to this day, market awareness is something we're working on every day and is fundamentally a different product.

40
00:04:04.720 --> 00:04:12.600
<v Mark Porter>It is a distributed system that performs database transactions as opposed to a single system that tries to be distributed.

41
00:04:13.000 --> 00:04:21.560
<v Mark Porter>And so my MVP when I came on board was this product which frankly was magical and had so many capabilities that people didn't know about.

42
00:04:21.780 --> 00:04:25.480
<v Mark Porter>And so I focused my energy in two main areas since I joined.

43
00:04:25.760 --> 00:04:30.200
<v Mark Porter>Area one is growing the team. We've more than doubled the team since I grew the engineering team.

44
00:04:30.200 --> 00:04:32.840
<v Mark Porter>and growing it as a healthy team with healthy culture

45
00:04:32.840 --> 00:04:34.640
<v Mark Porter>and keeping the tech moving forward.

46
00:04:34.840 --> 00:04:36.920
<v Mark Porter>And a second area for me personally

47
00:04:36.920 --> 00:04:39.520
<v Mark Porter>has been really helping get the message of MongoDB

48
00:04:39.520 --> 00:04:42.180
<v Mark Porter>out into the marketplace with, you know,

49
00:04:42.180 --> 00:04:43.840
<v Mark Porter>talking with marvelous people like you

50
00:04:43.840 --> 00:04:47.080
<v Mark Porter>and just getting that message out that MongoDB is different.

51
00:04:48.360 --> 00:04:51.600
<v Noah Labhart>So as you're getting that message out to the world

52
00:04:51.600 --> 00:04:53.800
<v Noah Labhart>and as you're, you know, you're carrying the banner,

53
00:04:53.840 --> 00:04:56.180
<v Noah Labhart>I hear that you stepped off the board to be CTO.

54
00:04:56.320 --> 00:04:57.800
<v Noah Labhart>You're super excited about Mongo.

55
00:04:57.800 --> 00:05:03.920
<v Noah Labhart>Mongo. You know, in that process and in the process of advancing Mongo, you got to make

56
00:05:03.920 --> 00:05:08.220
<v Noah Labhart>certain decisions and trade-offs about what you can do in the short term versus what you have to

57
00:05:08.220 --> 00:05:13.180
<v Noah Labhart>cut right then. So tell me about some of those things in terms of your involvement with Mongo

58
00:05:13.180 --> 00:05:14.780
<v Noah Labhart>and how you coped with those decisions.

59
00:05:15.600 --> 00:05:18.580
<v Mark Porter>This is fun. And this was an area that I spent a lot of

60
00:05:18.580 --> 00:05:24.480
<v Mark Porter>time on. So I started my career at Oracle doing enterprise class databases back in the 1980s and

61
00:05:24.480 --> 00:05:30.480
<v Mark Porter>and 90s. I then went to AWS and ran one of the largest enterprise class fleets of databases in

62
00:05:30.480 --> 00:05:37.140
<v Mark Porter>the world, RDS. And I then went to a consumer company, Grab, where we were serving 650 million

63
00:05:37.140 --> 00:05:43.720
<v Mark Porter>Southeast Asians, serving over 15 million rides, meals, transactions per day. And so mission

64
00:05:43.720 --> 00:05:50.940
<v Mark Porter>critical is in my blood, frankly. When I came to MongoDB, we had this great product, but I wanted

65
00:05:50.940 --> 00:05:56.480
<v Mark Porter>I wanted to have the team feel comfortable with really focusing on what I call the layers of the onion.

66
00:05:57.020 --> 00:06:03.260
<v Mark Porter>And the layers of that onion are security, durability, correctness for a database, of course.

67
00:06:03.880 --> 00:06:05.280
<v Mark Porter>Availability, it's always up.

68
00:06:05.560 --> 00:06:07.600
<v Mark Porter>Scalability, it can scale when you need to.

69
00:06:07.720 --> 00:06:11.920
<v Mark Porter>And operability, meaning that in this world of services, it's operable.

70
00:06:12.440 --> 00:06:16.560
<v Mark Porter>Now, all of those things come before the shiny new feature.

71
00:06:16.780 --> 00:06:20.400
<v Mark Porter>Now, customers are going to come to you and they're going to say, I want that shiny new feature.

72
00:06:20.940 --> 00:06:23.280
<v Mark Porter>that new capability or that new API call.

73
00:06:23.540 --> 00:06:26.460
<v Mark Porter>But they assume that you're dealing with security,

74
00:06:26.600 --> 00:06:29.460
<v Mark Porter>durability, correctness, availability, scalability, and operability.

75
00:06:29.620 --> 00:06:32.400
<v Mark Porter>The six internal layers of the onion.

76
00:06:32.540 --> 00:06:34.380
<v Mark Porter>And if you don't focus on those,

77
00:06:35.000 --> 00:06:37.560
<v Mark Porter>then you've betrayed the people who put their trust in you.

78
00:06:37.860 --> 00:06:39.620
<v Mark Porter>And so when I came to MongoDB,

79
00:06:39.960 --> 00:06:42.820
<v Mark Porter>though we were making progress on all of those areas,

80
00:06:43.040 --> 00:06:46.320
<v Mark Porter>I really hammered into the culture that at any level,

81
00:06:46.440 --> 00:06:50.240
<v Mark Porter>anyone can raise the card of an inner layer of the onion,

82
00:06:50.940 --> 00:06:53.840
<v Mark Porter>durability, correctness, et cetera, over an outer layer.

83
00:06:54.020 --> 00:06:58.620
<v Mark Porter>And we would focus all of our research efforts and development efforts on that.

84
00:06:58.760 --> 00:07:03.360
<v Mark Porter>And what it did is it gives the team almost a guiding light of how to make decisions,

85
00:07:03.500 --> 00:07:09.360
<v Mark Porter>which I like having decisions made at the leaf nodes of the company, not at the core,

86
00:07:09.480 --> 00:07:10.440
<v Mark Porter>at the tree, at the trunk.

87
00:07:10.740 --> 00:07:15.740
<v Mark Porter>And so by doing this, I helped MongoDB move ahead and have developers who work for me

88
00:07:15.740 --> 00:07:17.880
<v Mark Porter>make more and more decisions by themselves.

89
00:07:17.880 --> 00:07:18.700
<v Mark Porter>selves.

90
00:07:19.460 --> 00:07:26.140
<v Noah Labhart>So from the point of starting, and then progressing the product and your mission,

91
00:07:26.280 --> 00:07:30.640
<v Noah Labhart>how have you gone about that? I think I think what would be the most interesting, you know,

92
00:07:30.640 --> 00:07:37.500
<v Noah Labhart>thing in that is how you built your roadmap or approach or, you know, how you decided this is

93
00:07:37.500 --> 00:07:42.600
<v Noah Labhart>the next most important thing to address to enable developers to make those decisions.

94
00:07:44.880 --> 00:07:47.820
<v Mark Porter>this is my humble pie moment of this podcast, probably.

95
00:07:47.980 --> 00:07:49.740
<v Mark Porter>I mean, there might be another one, but this is my first one.

96
00:07:50.180 --> 00:07:55.720
<v Mark Porter>I came to MongoDB and I discovered a completely different way of building roadmaps.

97
00:07:56.180 --> 00:07:59.700
<v Mark Porter>So of course we have customers coming and requesting things and all that.

98
00:08:00.080 --> 00:08:05.160
<v Mark Porter>But we have this bottom-up empowered mechanism where any developer can write,

99
00:08:05.360 --> 00:08:08.020
<v Mark Porter>probably with a couple other developers most of the time,

100
00:08:08.080 --> 00:08:10.840
<v Mark Porter>can write what we call an initiative brief.

101
00:08:11.000 --> 00:08:13.800
<v Mark Porter>And they can work with a product manager and they can just ideate.

102
00:08:15.100 --> 00:08:20.400
<v Mark Porter>prioritized and we do quarterly planning, which is such the right cadence. I find sprint planning

103
00:08:20.400 --> 00:08:25.440
<v Mark Porter>to be too tactical. I find yearly planning to be, I mean, heck, by the time my yearly planning's

104
00:08:25.440 --> 00:08:30.620
<v Mark Porter>done, it's obsolete already. And so we do this quarterly planning cycle. We do it with these,

105
00:08:30.620 --> 00:08:34.900
<v Mark Porter>a mix of these bottom up and top down briefs. And then here's where the magic comes in.

106
00:08:35.140 --> 00:08:40.660
<v Mark Porter>The product team spends the first half of every quarter looking through the whole roadmap and

107
00:08:40.660 --> 00:08:45.260
<v Mark Porter>Okay, this came from engineering. This came from this customer. What do we think is important?

108
00:08:45.700 --> 00:08:51.320
<v Mark Porter>And then the engineering team spends the last half of each quarter saying what they can and can't get done.

109
00:08:51.580 --> 00:08:59.720
<v Mark Porter>And then the last two weeks on every quarter are everyone getting together and saying, wow, now that we've heard from everybody, and I'll dig into that a little bit more in a second.

110
00:09:00.060 --> 00:09:03.800
<v Mark Porter>Now that we've heard from literally everybody, what are we going to do next quarter?

111
00:09:04.060 --> 00:09:05.920
<v Mark Porter>Of course, we have long term roadmaps, right?

112
00:09:05.920 --> 00:09:11.640
<v Mark Porter>I mean, we're going to make the server more durable or we're going to launch a new multi-year feature.

113
00:09:11.980 --> 00:09:17.580
<v Mark Porter>But most of what we do, we don't delude ourselves that we know what's going to happen three quarters from now.

114
00:09:18.000 --> 00:09:21.180
<v Mark Porter>Instead, we figure out exactly what we're going to get done next quarter.

115
00:09:21.720 --> 00:09:25.980
<v Mark Porter>And the second thing about building our roadmap is we use this thing called LGTM.

116
00:09:26.160 --> 00:09:31.500
<v Mark Porter>And this is my humble pie moment, which is I've always been part of top-down organizations.

117
00:09:32.160 --> 00:09:39.160
<v Mark Porter>Organizations where, you know, my boss's boss's boss makes the decision or I make the decision and the team executes.

118
00:09:39.320 --> 00:09:43.640
<v Mark Porter>Here, I only LGTM, which means looks good to me.

119
00:09:43.860 --> 00:09:49.600
<v Mark Porter>No one comes to me for an official approval on all but the most important things, typically around security.

120
00:09:50.260 --> 00:09:55.800
<v Mark Porter>Most of the time, I'm down in the trenches with the troops making the decisions as a peer.

121
00:09:55.800 --> 00:10:02.780
<v Mark Porter>And that makes engineers so excited and so empowered that they just keep coming up with

122
00:10:02.780 --> 00:10:09.700
<v Mark Porter>great ideas, and so our roadmap is the amalgamation of all of those ideas, and then every quarter we

123
00:10:09.700 --> 00:10:14.080
<v Mark Porter>lay down in the roadmap what we're going to do, and then we restart over that process again for

124
00:10:14.080 --> 00:10:19.620
<v Mark Porter>the next quarter. So the power dynamic in companies is the power dynamic in companies is real. When I

125
00:10:19.620 --> 00:10:25.520
<v Mark Porter>say something, I think it's a whisper, but it's a shout. And when I say, oh, that's a bad idea, well,

126
00:10:25.800 --> 00:10:27.440
<v Mark Porter>All of a sudden people go, that's not what we're doing.

127
00:10:27.760 --> 00:10:32.460
<v Mark Porter>And so one of the things about our culture is it helps what I intend to be a whisper.

128
00:10:32.740 --> 00:10:35.660
<v Mark Porter>That whisper that says, God, could you guys just look at this a little bit deeper?

129
00:10:35.980 --> 00:10:39.260
<v Mark Porter>To actually be perceived more like a whisper than a shout.

130
00:10:40.700 --> 00:10:45.480
<v Noah Labhart>Well, speaking of that team, tell me about your team and how you went about building it.

131
00:10:45.560 --> 00:10:50.880
<v Noah Labhart>And what do you look for in those people to indicate that they're the winning horses to join you?

132
00:10:52.040 --> 00:10:59.380
<v Mark Porter>So, of course, we focus on domain expertise and can they run servers and they know how to program and do they have good logical skills and things like that.

133
00:10:59.780 --> 00:11:04.900
<v Mark Porter>But one element that we really focus on at MongoDB is this concept of cultural fit.

134
00:11:05.200 --> 00:11:12.900
<v Mark Porter>Now, when I told you about how we did our roadmap, that is an awful lot of people participating in a somewhat consensual process.

135
00:11:13.340 --> 00:11:15.700
<v Mark Porter>And I said how everyone needs to have a voice.

136
00:11:15.700 --> 00:11:20.160
<v Mark Porter>So when we interview people, we look for people whose voices are too quiet, who

137
00:11:20.160 --> 00:11:23.280
<v Mark Porter>aren't gonna speak up, or we look for people whose voices are going to be too

138
00:11:23.280 --> 00:11:27.880
<v Mark Porter>loud and they're gonna talk over people, and we're really pretty allergic to that.

139
00:11:27.880 --> 00:11:34.700
<v Mark Porter>What we want is people who value working together and coming up with great ideas

140
00:11:34.700 --> 00:11:39.100
<v Mark Porter>consensually so that I get, you know, I talked a little bit about LGTM, that's

141
00:11:39.100 --> 00:11:42.820
<v Mark Porter>that's a kind of consensus. And so when I first came here, I was like, God, there's

142
00:11:42.820 --> 00:11:47.280
<v Mark Porter>There's a lot of consensus here. And as I've been here longer, I've learned to delight

143
00:11:48.000 --> 00:11:51.940
<v Mark Porter>in this concept, which I haven't patented or trademarked, but I probably should,

144
00:11:52.080 --> 00:11:57.700
<v Mark Porter>which is called consensus that moves fast. So a lot of people associate fast moving with control,

145
00:11:57.840 --> 00:12:03.120
<v Mark Porter>and a lot of people associate consensus with moving slow. We work very hard to have consensus

146
00:12:03.120 --> 00:12:08.500
<v Mark Porter>that moves fast. So when we build the team, we ask questions about how do you make decisions?

147
00:12:08.500 --> 00:12:15.160
<v Mark Porter>How do you work with others? How do you do things like that where you work? The other thing we do is we we

148
00:12:15.740 --> 00:12:16.620
<v Mark Porter>relentlessly communicate

149
00:12:17.400 --> 00:12:19.000
<v Mark Porter>to people and

150
00:12:19.000 --> 00:12:25.420
<v Mark Porter>So during the interview we communicate all of our values we communicate everything that's going on at the company

151
00:12:25.420 --> 00:12:28.980
<v Mark Porter>And we watch how they react because we know that if in an interview

152
00:12:28.980 --> 00:12:32.980
<v Mark Porter>They don't react favorably to our cultural tenets or how we behave with each other

153
00:12:32.980 --> 00:12:36.460
<v Mark Porter>They're sure not going to act that way when they get to the company. So

154
00:12:36.460 --> 00:12:41.300
<v Mark Porter>So the final thing we do is we focus on customer obsession.

155
00:12:41.580 --> 00:12:49.340
<v Mark Porter>We look for signs that this person is going to have this North Star of just wanting to make our customers happier every day.

156
00:12:49.460 --> 00:12:54.380
<v Mark Porter>And not they're going to want to get richer or they're going to want to do the next coolest, deeply technical thing.

157
00:12:54.500 --> 00:12:56.100
<v Mark Porter>Or they're going to want to have a big team.

158
00:12:56.320 --> 00:13:01.200
<v Mark Porter>We really, really focus on listening carefully during the interviews for customer obsession.

159
00:13:02.320 --> 00:13:03.740
<v Noah Labhart>It makes a ton of sense.

160
00:13:03.740 --> 00:13:12.160
<v Noah Labhart>And that speedy consensus makes also a ton of sense, almost like the speed of there's a little bit of alignment with speed of trust.

161
00:13:12.240 --> 00:13:13.860
<v Noah Labhart>But I haven't heard exactly put that way.

162
00:13:13.920 --> 00:13:15.220
<v Noah Labhart>That's really that's really interesting.

163
00:13:15.440 --> 00:13:17.980
<v Mark Porter>I do like the book Speed of Trust a lot.

164
00:13:18.080 --> 00:13:19.320
<v Mark Porter>I'm glad you mentioned it.

165
00:13:19.380 --> 00:13:20.860
<v Mark Porter>Yeah, it's it's interesting.

166
00:13:21.020 --> 00:13:22.580
<v Mark Porter>And of course, we're still working through it.

167
00:13:22.620 --> 00:13:28.260
<v Mark Porter>Like while I've been at the company, we started COVID with like fifteen hundred employees and now we're over four thousand, I believe.

168
00:13:28.260 --> 00:13:34.960
<v Mark Porter>And so obviously as we scale, and it's going to be really interesting to keep rolling these things out.

169
00:13:35.020 --> 00:13:38.680
<v Mark Porter>So scaling is just such an interesting challenge for an executive.

170
00:13:42.440 --> 00:13:44.340
<v Noah Labhart>So it's an interesting segue.

171
00:13:44.520 --> 00:13:45.520
<v Noah Labhart>Actually, it's a perfect segue.

172
00:13:45.780 --> 00:13:50.220
<v Noah Labhart>How you approached Mongo when you started and you set out to enable developers.

173
00:13:50.760 --> 00:13:56.900
<v Noah Labhart>You know, tell me about how you think about scalability or how the company thinks about scalability

174
00:13:58.260 --> 00:14:03.780
<v Noah Labhart>approach to what you did. But was it built to scale or was it executed on scale efficiently

175
00:14:03.780 --> 00:14:07.900
<v Noah Labhart>from day one? Or have you been fighting this and changing as you gain traction?

176
00:14:09.020 --> 00:14:12.780
<v Mark Porter>So there's technical scalability, which is obviously awesome. And then there's obviously

177
00:14:12.780 --> 00:14:21.700
<v Mark Porter>org scalability. And so the company was founded on the concept of scaling writes. And over time,

178
00:14:21.740 --> 00:14:25.880
<v Mark Porter>of course, the world has changed in the 15 years to now, you know, many orders of magnitude,

179
00:14:25.880 --> 00:14:31.280
<v Mark Porter>more demand on our servers. And we stick with that belief that one of the things

180
00:14:31.280 --> 00:14:35.640
<v Mark Porter>we have to build into the product is scalability as a feature. And one of the

181
00:14:35.640 --> 00:14:39.720
<v Mark Porter>things I've seen in product after product that I've either helped build or

182
00:14:39.720 --> 00:14:45.060
<v Mark Porter>been part of in my career is scalability is an afterthought. So what you'll see is

183
00:14:45.060 --> 00:14:48.880
<v Mark Porter>they'll release a POC, it'll be awesome, they'll go to market, people adopt the

184
00:14:48.880 --> 00:14:52.240
<v Mark Porter>product, and then the product management team comes back to engineering and says

185
00:14:52.240 --> 00:14:56.420
<v Mark Porter>okay, now we need to scale it by 10 or 100x, and they say, oh yeah, now we have to go rewrite it

186
00:14:56.420 --> 00:15:00.980
<v Mark Porter>from scratch. That's just a true betrayal. It's a betrayal to your product management team. It's

187
00:15:00.980 --> 00:15:06.440
<v Mark Porter>betrayal to your customers. So we worked very hard to have all those things I talked about

188
00:15:06.440 --> 00:15:13.420
<v Mark Porter>part of our plan from day one. And here at MongoDB, just to go deep into the weeds, one of the things

189
00:15:13.420 --> 00:15:19.180
<v Mark Porter>we do is sharding. Sharding is how you scale out MongoDB clusters. And now we have a tenet, a tenet meaning

190
00:15:19.180 --> 00:15:24.780
<v Mark Porter>a foundational belief in the organization, that every single thing we write works with sharding

191
00:15:24.780 --> 00:15:30.760
<v Mark Porter>out of the gate. So every single thing we write can be scaled out of the gate, because otherwise,

192
00:15:31.480 --> 00:15:33.660
<v Mark Porter>success actually becomes your failure.

193
00:15:35.040 --> 00:15:37.200
<v Noah Labhart>Well, as you step out on the balcony,

194
00:15:37.300 --> 00:15:40.080
<v Noah Labhart>and you look across all that you've built, what are you most proud of?

195
00:15:40.860 --> 00:15:46.840
<v Mark Porter>I'm proud that I have pivoted from problems I faced were under my fingers, writing code,

196
00:15:46.840 --> 00:15:50.820
<v Mark Porter>to the problems I faced were figuring out what a product direction was.

197
00:15:51.820 --> 00:15:55.320
<v Mark Porter>Now the problems I face are human problems,

198
00:15:55.520 --> 00:15:58.300
<v Mark Porter>are problems with how orgs work together,

199
00:15:58.440 --> 00:16:01.040
<v Mark Porter>or problems with how industries see our company.

200
00:16:01.420 --> 00:16:03.160
<v Mark Porter>And so I'm really proud of that.

201
00:16:03.340 --> 00:16:06.460
<v Mark Porter>These problems, frankly, are more challenging than the technical problems

202
00:16:06.460 --> 00:16:08.400
<v Mark Porter>because they're very amorphous and ambiguous.

203
00:16:08.760 --> 00:16:11.200
<v Mark Porter>And as a tech person, gosh, I would just love it

204
00:16:11.200 --> 00:16:14.220
<v Mark Porter>if everything was, you know, reducible to an algorithm.

205
00:16:14.400 --> 00:16:16.340
<v Mark Porter>But I cannot reduce people to algorithms.

206
00:16:16.840 --> 00:16:22.660
<v Mark Porter>I cannot reduce behavior to algorithms, but I do have a couple specific things I've learned over

207
00:16:22.660 --> 00:16:26.980
<v Mark Porter>the years about how organizations function. One of them is this thing called Conway's law.

208
00:16:27.140 --> 00:16:33.440
<v Mark Porter>And Conway's law stated very simply and not scientifically is that the structure of a

209
00:16:33.440 --> 00:16:39.180
<v Mark Porter>product and how well a product works and how the pieces of it interoperate will reflect the

210
00:16:39.180 --> 00:16:44.160
<v Mark Porter>organizational structure that built it. And put rather snarkily, if two managers hate each other

211
00:16:44.160 --> 00:16:48.040
<v Mark Porter>and they're working on a product together, those two parts of the product are not going to work

212
00:16:48.040 --> 00:16:53.580
<v Mark Porter>well together. And so one of the things I really work on is I work with Conway's Law to make sure

213
00:16:53.580 --> 00:17:00.260
<v Mark Porter>that the organization we build is built to serve the product, not the other way around. We don't

214
00:17:00.260 --> 00:17:05.260
<v Mark Porter>like look at people's careers and say, oh, we're going to build a team around you having 30 people

215
00:17:05.260 --> 00:17:10.980
<v Mark Porter>next year rather than 12. We try to figure out the product and we fit people into that org structure.

216
00:17:10.980 --> 00:17:13.020
<v Mark Porter>So that's number one, and that pays off.

217
00:17:13.140 --> 00:17:15.840
<v Mark Porter>And number two, there's this thing called Dunbar's number.

218
00:17:16.100 --> 00:17:19.980
<v Mark Porter>And Dunbar was a researcher at Cambridge who's done research for the last 30 years about

219
00:17:19.980 --> 00:17:21.460
<v Mark Porter>how humans interact.

220
00:17:21.880 --> 00:17:27.020
<v Mark Porter>And what he found in his initial research was that tribes, and he really did do research

221
00:17:27.020 --> 00:17:32.840
<v Mark Porter>into tribes, over human history, groups of about 100 to 150 have been the unit of social

222
00:17:32.840 --> 00:17:33.340
<v Mark Porter>cohesion.

223
00:17:33.940 --> 00:17:38.420
<v Mark Porter>Tribes in the Amazon jungle, Roman legions, divisions within companies, and his research

224
00:17:38.420 --> 00:17:39.220
<v Mark Porter>is fascinating.

225
00:17:40.980 --> 00:17:46.540
<v Mark Porter>found out, and he published this just a couple years ago, is that there's Dunbar layers. So

226
00:17:46.540 --> 00:17:52.620
<v Mark Porter>there's 10 people who I will trust with my life. There's 30 people who I will go out to dinner with

227
00:17:52.620 --> 00:17:57.260
<v Mark Porter>on a regular basis and trust, and I'll share secrets with them. There's this 150 group of

228
00:17:57.260 --> 00:18:01.920
<v Mark Porter>people who I work with and trust. And once you go past that, now you're in the wild level,

229
00:18:01.980 --> 00:18:07.820
<v Mark Porter>the people who you might not trust. So God, why am I talking about psychology here? Because if you

230
00:18:07.820 --> 00:18:12.680
<v Mark Porter>If you build teams where the degree of trust you have to work with someone efficiently

231
00:18:13.160 --> 00:18:19.660
<v Mark Porter>is larger than your Dunbar numbers, you'll get approval processes, you'll get distrust,

232
00:18:19.800 --> 00:18:22.220
<v Mark Porter>you'll get escalations, you'll get politics.

233
00:18:22.580 --> 00:18:27.720
<v Mark Porter>And what I've found over the last 10 years as I've focused on this at AWS and Grab and

234
00:18:27.720 --> 00:18:34.240
<v Mark Porter>now here at MongoDB is if I build small teams where the degree of trust matches the team

235
00:18:34.240 --> 00:18:41.720
<v Mark Porter>size things are just easy and then at the individual dynamics level Dan Pink

236
00:18:41.720 --> 00:18:46.940
<v Mark Porter>said it best with mastery autonomy and purpose people want to be great at

237
00:18:46.940 --> 00:18:51.220
<v Mark Porter>something they want to be left alone to be great at something and they want to

238
00:18:51.220 --> 00:18:56.520
<v Mark Porter>feel that's important so rather than thinking about scaling my organization I

239
00:18:56.520 --> 00:19:00.380
<v Mark Porter>think about getting the micro elements the nano elements of my organization

240
00:19:00.380 --> 00:19:05.560
<v Mark Porter>right in terms of people having mastery, autonomy, and purpose, and in terms of groups being

241
00:19:05.560 --> 00:19:11.060
<v Mark Porter>organized according to their Dunbar number and Conway's law. And I find that if you do that,

242
00:19:11.160 --> 00:19:17.020
<v Mark Porter>everything is just easier. And so you asked me what I was proud of. And frankly, it's these

243
00:19:17.020 --> 00:19:20.320
<v Mark Porter>insights that I am most proud of as CTO.

244
00:19:21.620 --> 00:19:24.460
<v Noah Labhart>Let me flip the script a little bit. Tell me about a

245
00:19:24.460 --> 00:19:27.620
<v Noah Labhart>a mistake you made and how you and your team responded to it.

246
00:19:28.840 --> 00:19:30.100
<v Mark Porter>There's a lot of mistakes to

247
00:19:30.100 --> 00:19:37.020
<v Mark Porter>choose from. Some of them were avoidable, some weren't. So I love to embrace experimentation

248
00:19:37.020 --> 00:19:41.780
<v Mark Porter>and figure out what's going to happen as a result of it. I don't view those as mistakes. Some people

249
00:19:41.780 --> 00:19:46.560
<v Mark Porter>call that embracing failure. I call it embracing experimentation. A mistake is something where you

250
00:19:46.560 --> 00:19:52.780
<v Mark Porter>could have predicted bad stuff was going to happen. So a huge mistake I made is when I joined

251
00:19:54.460 --> 00:19:59.180
<v Mark Porter>the relational database service, the operational excellence of the team was just not great.

252
00:19:59.340 --> 00:20:05.120
<v Mark Porter>And we kept delivering feature after feature after feature, and yet our databases didn't stay up.

253
00:20:05.620 --> 00:20:10.080
<v Mark Porter>And so I was yelled at. For the first two years I was the general manager of RDS,

254
00:20:10.400 --> 00:20:15.840
<v Mark Porter>I was yelled at by customers, and it hurt. And my mistake was not pivoting fast enough

255
00:20:15.840 --> 00:20:20.040
<v Mark Porter>to operational excellence, to those things I told you about, to security, durability,

256
00:20:20.040 --> 00:20:26.380
<v Mark Porter>availability, operability, all those things. And when I did pivot, I lost almost 60% of the group

257
00:20:26.380 --> 00:20:33.280
<v Mark Porter>over that next year because they'd been trained to come in and fix operational mistakes and

258
00:20:33.280 --> 00:20:39.400
<v Mark Porter>firefight. And none of them had ever been trained by me to hold their ground on operational excellence

259
00:20:39.400 --> 00:20:44.140
<v Mark Porter>and security and durability. Now, RDS was a great service, don't get me wrong, but we held it

260
00:20:44.140 --> 00:20:51.360
<v Mark Porter>together with human toil, not with software. And so what I learned from that and what my team

261
00:20:51.360 --> 00:20:57.660
<v Mark Porter>learned from that is it is never too early to talk about operational excellence. It is never

262
00:20:57.660 --> 00:21:04.880
<v Mark Porter>too early to, in your very first product document, to talk about scalability. Now here at MongoDB,

263
00:21:05.080 --> 00:21:10.700
<v Mark Porter>I found a culture which actually cherishes that, I think. And so it's really delightful.

264
00:21:10.700 --> 00:21:15.620
<v Mark Porter>So I hate betraying people and I hate being screamed at because I betrayed them.

265
00:21:15.780 --> 00:21:21.740
<v Mark Porter>And so now at MongoDB, I'm open and transparent with customers about what our product does and doesn't do.

266
00:21:22.080 --> 00:21:23.740
<v Mark Porter>Sometimes much to their surprise.

267
00:21:24.240 --> 00:21:34.980
<v Mark Porter>And that makes my team trust me that as CTO, I'm not going to paint them into some imaginary corner of lying to customers about what our product does when they know full well it doesn't do that.

268
00:21:37.100 --> 00:21:43.460
<v Noah Labhart>Well, Mark, let's switch to you. Who influences the way that you work? Name a person you look up to and why.

269
00:21:44.360 --> 00:21:55.740
<v Mark Porter>Well, this is going to sound pretty, pretty brown nosing, but I really look up to my CEO, my CFO, my CPO, and my CRO, my chief revenue officer.

270
00:21:55.940 --> 00:22:01.300
<v Mark Porter>And in fact, to many degrees, that's why I joined MongoDB. It wasn't just the technical thing.

271
00:22:02.260 --> 00:22:07.020
<v Mark Porter>and the whole rest of the C staff we have here is in the E staff, the executive staff here we

272
00:22:07.020 --> 00:22:13.360
<v Mark Porter>have is amazing. But let's get into some details of why I look up to people. I look up to people

273
00:22:13.360 --> 00:22:19.100
<v Mark Porter>when they can turn a high stakes conversation, something that is emotionally charged and risky

274
00:22:19.100 --> 00:22:24.620
<v Mark Porter>into a low stakes conversation. And there's a book called Crucial Conversations, which I will

275
00:22:24.620 --> 00:22:29.960
<v Mark Porter>highly recommend to all of your listeners. And it talks about how there's this false choice

276
00:22:31.420 --> 00:22:37.040
<v Mark Porter>saying what needs to be said and having a big argument. The reality is, is that the best leaders

277
00:22:37.040 --> 00:22:42.800
<v Mark Porter>teach their teams to say what needs to be said without it being a big argument. And the way I

278
00:22:42.800 --> 00:22:47.560
<v Mark Porter>do that and the way I've been taught to do that by these great leaders is we turn and we face the

279
00:22:47.560 --> 00:22:52.800
<v Mark Porter>customer and we say, what is the best thing for the customer? We have full faith that that's going

280
00:22:52.800 --> 00:22:58.220
<v Mark Porter>to result in being the best thing for our company. And we have full faith that's going to result in

281
00:22:58.220 --> 00:23:03.140
<v Mark Porter>being the best thing for our employees, and by transference, the best thing for our shareholders.

282
00:23:03.620 --> 00:23:09.780
<v Mark Porter>And so if you think about those four tiers, customer, company, employees, and stakeholders,

283
00:23:10.140 --> 00:23:16.320
<v Mark Porter>I look up to people who I can work with on that hierarchy, on that fundamental Maslow's set of

284
00:23:16.320 --> 00:23:22.580
<v Mark Porter>needs, but Maslow's set of needs for a fundamentally successful technical company. And I really love

285
00:23:22.580 --> 00:23:27.820
<v Mark Porter>working with people who we can do that. I also hate politics. I hate people bringing too much

286
00:23:28.220 --> 00:23:31.220
<v Mark Porter>to the table that's false, that they're using emotion to get something done.

287
00:23:31.480 --> 00:23:36.620
<v Mark Porter>But I love it when people bring authentic fright, authentic fear, authentic uncertainty

288
00:23:37.340 --> 00:23:41.140
<v Mark Porter>to a situation so we can all lay it out on the table and just be human together.

289
00:23:42.600 --> 00:23:46.480
<v Noah Labhart>Well, we talked about a mistake earlier, but maybe a little bit different spin on the question.

290
00:23:46.660 --> 00:23:49.220
<v Noah Labhart>If you could go back to the beginning, what would you do different?

291
00:23:49.300 --> 00:23:51.420
<v Noah Labhart>Or where would you consider taking a different approach?

292
00:23:51.420 --> 00:23:51.920
<v Noah Labhart>approach.

293
00:23:53.260 --> 00:24:00.900
<v Mark Porter>MongoDB has had such a massively successful arc of our company, and yet it has had missteps.

294
00:24:01.100 --> 00:24:05.600
<v Mark Porter>In the early days, we probably promised a little bit too much.

295
00:24:05.700 --> 00:24:08.320
<v Mark Porter>And so maybe we would have promised a little bit less.

296
00:24:08.460 --> 00:24:13.780
<v Mark Porter>And we got in trouble in 2013 and 2014 about maybe promising too much with transactional

297
00:24:13.780 --> 00:24:15.160
<v Mark Porter>consistency and things like that.

298
00:24:15.280 --> 00:24:19.020
<v Mark Porter>And then we came along and we introduced full ACID transactions in 2018.

299
00:24:19.020 --> 00:24:24.680
<v Mark Porter>18. So, so that's an area where I think we could have done a little bit better then. And the

300
00:24:24.680 --> 00:24:31.240
<v Mark Porter>company was growing and that's fine. You know, I don't really have any other areas where I think

301
00:24:31.240 --> 00:24:36.140
<v Mark Porter>that, that we have needed to take a different approach. I think we've actually executed really

302
00:24:36.140 --> 00:24:44.620
<v Mark Porter>well. And a large degree of that is because Dave, my CEO listens. And so people bring up problems

303
00:24:44.620 --> 00:24:48.640
<v Mark Porter>to him all the time and he listens and we change our course regularly as a result of that.

304
00:24:49.020 --> 00:24:53.460
<v Mark Porter>So when we say taking another approach, I mean, frankly, we take another approach all the time.

305
00:24:53.980 --> 00:24:55.080
<v Noah Labhart>That's an awesome answer.

306
00:24:55.200 --> 00:24:58.420
<v Noah Labhart>And I really like the part at the very end that makes a ton of sense.

307
00:24:58.560 --> 00:25:02.860
<v Noah Labhart>You're taking different directions all the time because your leaders are listening to your people.

308
00:25:03.000 --> 00:25:05.900
<v Mark Porter>So micro changes should be embraced.

309
00:25:06.200 --> 00:25:13.080
<v Mark Porter>What you want to do is be aware of what's going on and not have this culture where people are afraid.

310
00:25:13.220 --> 00:25:13.940
<v Mark Porter>What's that phrase?

311
00:25:14.080 --> 00:25:15.360
<v Mark Porter>The elephant in the room or whatever.

312
00:25:15.580 --> 00:25:18.400
<v Mark Porter>And people are afraid to say the scary thing.

313
00:25:19.020 --> 00:25:35.080
<v Mark Porter>Well, Dave, again, I'm not brown nosing Dave, if you're listening, Dave often just pauses and lets the silence in our meetings go for like 30, 40 uncomfortable seconds until someone says, you know, I'm not really, I'm not really comfortable with what we just decided.

314
00:25:35.080 --> 00:25:37.860
<v Mark Porter>I just really want to talk about that more.

315
00:25:38.240 --> 00:25:49.440
<v Mark Porter>And that helps us make those micro course corrections to avoid the macro course corrections, which are the ones that damage organizations, damage people's careers and damage companies.

316
00:25:51.260 --> 00:25:52.460
<v Noah Labhart>Well, Mark, last question.

317
00:25:52.680 --> 00:25:57.340
<v Noah Labhart>So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing.

318
00:25:57.640 --> 00:25:58.680
<v Noah Labhart>They're jazzed about it.

319
00:25:58.740 --> 00:26:01.760
<v Noah Labhart>They can't wait to show it off to the world and can't wait to show it off to you right there on the plane.

320
00:26:02.300 --> 00:26:05.560
<v Noah Labhart>What advice would you give that person having gone down this road a bit?

321
00:26:06.460 --> 00:26:14.180
<v Mark Porter>The first advice, unsurprisingly, relates back to a lot of what we've talked about on this podcast, which is be human first.

322
00:26:14.380 --> 00:26:15.280
<v Mark Porter>I mean, that's not a surprise.

323
00:26:15.420 --> 00:26:16.880
<v Mark Porter>So I'm just going to say be human first.

324
00:26:16.940 --> 00:26:17.840
<v Mark Porter>Be human with everyone.

325
00:26:17.980 --> 00:26:18.560
<v Mark Porter>Don't pose.

326
00:26:18.880 --> 00:26:19.640
<v Mark Porter>Be vulnerable.

327
00:26:20.200 --> 00:26:22.100
<v Mark Porter>You're actually stronger through vulnerability.

328
00:26:22.340 --> 00:26:23.680
<v Mark Porter>So that's a piece of advice, number one.

329
00:26:23.800 --> 00:26:26.160
<v Mark Porter>And they'll all look at you and they'll all nod.

330
00:26:26.400 --> 00:26:30.400
<v Mark Porter>And then six months later, I'll get together with them on a conference call because I mentor a lot of entrepreneurs.

331
00:26:31.760 --> 00:26:36.160
<v Mark Porter>I haven't been doing that. Okay. So that's fine. Cause it's, it's a, that's a lower brain thing.

332
00:26:36.620 --> 00:26:42.580
<v Mark Porter>So the first piece of advice is be in touch with your lower brain because entrepreneurs are in

333
00:26:42.580 --> 00:26:47.600
<v Mark Porter>touch with their frontal lobes with the, what is the algorithm I'm writing today? How much revenue

334
00:26:47.600 --> 00:26:52.120
<v Mark Porter>am I going to make from it? What's my pitch deck look like all that. So be in touch with your lower

335
00:26:52.120 --> 00:26:56.520
<v Mark Porter>brain too. That's the first piece of advice. The second piece of advice I would give them

336
00:26:57.640 --> 00:27:04.180
<v Mark Porter>is you're going to think that being right is what matters as your company grows. Now, sure,

337
00:27:04.280 --> 00:27:09.020
<v Mark Porter>when you're at five people, 10 people, 20 people, yeah, you got to be right. You got to get that

338
00:27:09.020 --> 00:27:13.580
<v Mark Porter>next round of funding. You got to be just perfectly right because I don't know what the number is, but

339
00:27:13.580 --> 00:27:20.800
<v Mark Porter>the vast majority of startups fail. But at some point, you're going to pivot to what's important

340
00:27:20.800 --> 00:27:27.840
<v Mark Porter>important being you helping the people work for you to be right. And that's what your new right

341
00:27:27.840 --> 00:27:34.820
<v Mark Porter>becomes because you won't scale. And so right now MongoDB is crossing 4,000 people and we have this

342
00:27:34.820 --> 00:27:41.160
<v Mark Porter>wonderful senior leadership team of like 80 or so vice presidents or whatever. And we are now as the

343
00:27:41.160 --> 00:27:47.580
<v Mark Porter>executive team teaching them to be right. Not us at C-levels. We're spending all our time teaching

344
00:27:47.580 --> 00:27:52.200
<v Mark Porter>teaching them to be right. So the way I would package that all up, that second piece of advice,

345
00:27:52.820 --> 00:27:56.860
<v Mark Porter>is be aware that the company you are building this month, the company you're going to have

346
00:27:56.860 --> 00:28:01.300
<v Mark Porter>six months from now, a year from now, and two years from now, are all different companies.

347
00:28:01.560 --> 00:28:08.800
<v Mark Porter>And embrace that change. Welcome that change. And experiment through that change. Don't fight it.

348
00:28:08.880 --> 00:28:12.000
<v Mark Porter>Because the company you're building right now, sitting beside me on an airplane,

349
00:28:12.260 --> 00:28:15.320
<v Mark Porter>is not the company that will be successful two years from now.

350
00:28:16.000 --> 00:28:19.020
<v Noah Labhart>Fantastic advice. Well, Mark, thank you for being on the show today.

351
00:28:19.220 --> 00:28:23.380
<v Noah Labhart>Thank you for telling your creation story and start at MongoDB.

352
00:28:23.760 --> 00:28:24.260
<v Mark Porter>Thank

353
00:28:24.240 --> 00:28:27.820
<v Mark Porter>you so much. It's been a pleasure. And I do hope that someday we get to have a physical

354
00:28:27.820 --> 00:28:28.520
<v Mark Porter>coffee together.

355
00:28:29.680 --> 00:28:33.740
<v Noah Labhart>Same here. And this concludes another chapter of Code Story.

356
00:28:39.220 --> 00:28:44.780
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts,

357
00:28:45.320 --> 00:28:47.180
<v Noah Labhart>or the podcasting app of your choice.

358
00:28:47.640 --> 00:28:50.900
<v Noah Labhart>Support the show on patreon.com slash Code Story

359
00:28:50.900 --> 00:28:52.660
<v Noah Labhart>for just five to 10 bucks a month.

360
00:28:53.080 --> 00:28:55.260
<v Noah Labhart>And when you get a chance, leave us a review.

361
00:28:55.580 --> 00:28:57.460
<v Noah Labhart>Both things help us out tremendously.

362
00:28:59.920 --> 00:29:01.360
<v Noah Labhart>And thanks again for listening.
