Building New Primitives for Large Scale Systems with software engineer Ekanth Sethuramalingam
VenrockGanesh Srinivasan speaks with Ekanth Sethuramalingam, a software engineer and technical leader at Notion, about the challenges of building large scale systems while experiencing massive growth. Previously a software engineer at Uber, where he helped solve some of their biggest challenges in the data space, Ekanth also shares what drew him to join Notion and his thoughts on building new primitives.
- [00:01:18] Ekanth’s engineering background
- [00:02:14] Switching from Uber to Notion
- [00:03:39] Notion’s biggest challenge
- [00:08:45] Applying generative AI
- [00:12:04] Dream tool
- [00:14:32] Rapid fire questions
Full Transcript
[00:01:11] Ganesh Srinivasan: Welcome to another episode of the Outer Join. Today I’m honored to have with me Ekanth from Notion. Why don’t we just start with a quick introduction? And we’d love for you to introduce yourself to the audience.
[00:01:24] Ekanth Sethuramalingam: Sure, thanks Ganesh for having me here. I’m Ekanth and I’m an engineer at Notion labs right now.
[00:01:31] Ekanth Sethuramalingam:My background is largely systems infrastructure, data and most recently before Notion I was at Uber as part of the data infra platform team. Before that I spent some years at AWS in the easy two set of the business building migration services for C two, set the business. And then prior to that, I’ve done 10 plus years on networking systems, slow balancers very deep connel stuff.
[00:01:55] Ekanth Sethuramalingam: So the way I typically explain, my journey is I started very, at the very lowest layer in the nel and then moved my way up the stack if you will. Right now working much closer to, let’s say the UX and product experience from the big since the beginning, if you will.
[00:02:13] Ganesh Srinivasan: That’s awesome. And just curiosity, meaning obviously in our time you and your team helped scale a lot of the data challenges that we face. What made you switch over to Notion?
[00:02:23] Ekanth Sethuramalingam: I was looking for a smaller company that’s in the as formed the product market for is trying to grow scale.
[00:02:32] Ekanth Sethuramalingam: I think that was primarily what I was looking for at that stage of my time at Uber. I think both Uber and Amazon I think were relatively much more mature. They’re far ahead in the, in that journey of scaling. And then having gone through that round of going from a small company that has found product market fit, and then going through that exponential growth scale journey. I at least joined those companies when that as at least past that exponential curve jump.
[00:03:01] Ekanth Sethuramalingam: They were still growing, scaling, and all of that. But then I wanted to experience that, that right of that. Starting of the curve journey. So that’s one of the reasons that I joined Notion, but then overall, I love Notion as a product. I’ve used Notion to just manage content and things like that.
[00:03:19] Ekanth Sethuramalingam: So I fell in love with that product, the brand the design, aesthetics that Notion hard. So the combination of that, I love the people when I talk to them as well. All of this were how I decided to go join, Notion, I had everything that I was looking for the most part type of the problems that were facing the journey.
[00:03:38] Ganesh Srinivasan: That’s amazing. And Notion is a great company and I and I’m glad to see you folks having amazing success out there. And then switching over what are the biggest technical challenges for you that keep you up at night?
[00:03:50] Ekanth Sethuramalingam: I mentioned briefly earlier, I think not going through this phase of growth and the last round of Primitives that have felt, that has gotten the company to, to where it is today.
[00:04:04] Ekanth Sethuramalingam: I think we need to continue to push, we’ll continue to push the boundaries on some of these primitives to be able to extend scale Notion to start to get bigger, serve more of our users and across a bigger surface area of product features and so on and so forth. And the other thing is we are also building newer primitives to be able to support new use cases within Notion over, let’s say commodity infrastructure with cloud vendors and so on and so forth.
[00:04:31] Ekanth Sethuramalingam: So I think building these large scale systems that are at scale, while things are growing at a breakneck pace adds quite a bit of change as you’re making these forward progress. So when that introduces some unknowns at times sometimes these are risks that you’ve seen, but then as a company, as a new team you’re building that experience, getting to that maturity. So I think the unknowns plus the learnings through these mistakes or through these let’s say potential outages, if you will, type things are at least what keep me at night.
[00:05:07] Ekanth Sethuramalingam: We are building new systems. Is it so net new things that are coming into production and these unknowns around these systems and the ones that, that will wake you up in the night are what keep me up right now. Looking at the surfaces, looking at the edge of these, what we’re building to see what can break, where are we hitting the limits?
[00:05:24] Ekanth Sethuramalingam: Where are we getting close to us playing with that boundaries, if you will.
[00:05:30] Ganesh Srinivasan: That makes sense, and I think a few times you mentioned thinking what new primitives what are like, can you give like an example of what is the primitive, like what does that mean?
[00:05:38] Ekanth Sethuramalingam: So one example problem that a set of capabilities that we’re trying to enable in Notion are product patterns that existed before, but then they’ll probably built with…built in a way that it’s not generalizable, if you will. An example that I can give you is, let’s say the notifications inside the product, the multiple surface areas that you could potentially notify users and Notion is also very interesting product services.
[00:06:05] Ekanth Sethuramalingam: It’s not a typical app that notifies you to advertise. It’s more of people commenting against your dog people, let’s say calling your name out to ask a question type thing. So these are very personal, very direct type notifications. And there are different sound cases that you can get these notifications. Similarly, I think there are other event driven things that can happen in the product that you can, you may wanna then push out or take action, follow on actions around.
[00:06:32] Ekanth Sethuramalingam: So the first one are two use cases. Within Notion were built purpose built for that use case alone. So there’s not a lot of reusability. So building a, let’s say a platform around this to create a canonical set of events or things of that nature. And then a platform framework in the language programming, language primitives that the company engineers are familiar with to enable, unlock these things, right?
[00:06:56] Ekanth Sethuramalingam: Otherwise say every new use case that has a similar shape, has a huge lift that needs to happen to be able to build that, because you need to build the foundational layers to essentially get to the product layers that you got, you wanna build. Finding these common patterns, creating those layers, investing those layers ahead of time, right?
[00:07:17] Ekanth Sethuramalingam: Finding those buildings are the types of parameters that I’m talking about that building this creates a lot of leverage for us to be able to build newer capabilities.
[00:07:26] Ganesh Srinivasan: Makes sense. I think the more, I think what I think it matches, like Loomberg, when I was running the product platform, an Uber, it was all more like building, finding these common platforms and as honestly productizing them, right?
[00:07:36] Ganesh Srinivasan: So you could have, a notification.
[00:07:40] Ekanth Sethuramalingam: Exactly. And also building it with the product teams. The other way I’d, I also typically think about this is, you can you’ve given that I’ve worked at, let’s say companies like Uber, Amazon, some of these, they have a mature, let’s say, platform infrastructure perimeters and we’ve seen these systems work there, but then getting that big thing built here is probably not the right thing either, right?
[00:08:03] Ekanth Sethuramalingam: Finding the right which to enter the right problem to work with, and then building a flavor of that primitive that then serves the need. Finding that balance is also key to be able to build these at the right time to enable versus just completely going on a parallel track that may not even meet eventually.
[00:08:21] Ganesh Srinivasan: Ah, yeah. Yeah. That’s actually a good point. I think you’re almost saying, “Hey, this is not necessarily going all in to build a completely different platform. Like I think you’re finding these edges sort of building these platforms along the way as your product is built.” And that makes sense.
[00:08:37] Ganesh Srinivasan: I think that seems like fun. Many given the surface area for Notion. I’m sure there are like many primitives that, your folks are looking at. Maybe, if you take a step out and, that’s obviously that’s the thing we are excited about Notion like what are the just generally new technologies that you’re excited about? Like we see something outside and you say, man, this is fascinating or this is something that is very interesting.
[00:08:59] Ekanth Sethuramalingam: I think obviously the buzz right now is all of the generative AI and what things can power, and it feels like it’s one of those primitives that is such a primitive that if we haven’t seen that in, in a while, which is so pervasive, can touch pretty much every product surface that you can see across many verticals today.
[00:09:21] Ekanth Sethuramalingam: The image and rate of capabilities, the text generative capabilities. It’s probably gotten an order of magnitude or significantly better now to a point that this just can improve, enhance, right? So that’s, obviously things like even co-pilot that helps as engineers as we write code.
[00:09:38] Ekanth Sethuramalingam: I mean at this testing is an area that I see co-pilot being really helpful. Similarly, I think generative AI, I mean of Notion recently launched Notion AI, but then things like that, right? So where if you have the context, if you are in the flow, you’re not switching you, it’s very integrated with the product.
[00:09:55] Ekanth Sethuramalingam: So that’s definitely something that I’m very excited about the possibilities. I think you still, I feel very early in, in productizing that. But then as the cost curve bends, meaning the cost of making these calls today as it continues to bend down, I think it’ll become much more accessible, available for many use cases than very be a significant lift, I think.
[00:10:19] Ekanth Sethuramalingam: From the spaces that I’m looking at, I think Notion’s data model is also a very interesting tree-like model. I think there’s a blog about our data model, which if you get a chance to read I think it’s a very interesting data model. And then Notion, if you look at as a product, I think it’s also very client and server combined creating this magic.
[00:10:39] Ekanth Sethuramalingam: It’s a heavy, thick client, if you will. Keeping there are companies that are trying to solve this problem of keeping data in sync between client and servers. There’s problems around multiplayer editing type thing, right? So in, in our case, I think multiple people are making changes.
[00:10:55] Ekanth Sethuramalingam: Things like C R D, how do you make sure we don’t lose data, but at the same time provide multiplayer experience for a large number of players as well. And keeping that client survey server data in sync across all of this while being real-time, I think that’s an interesting space, I think with definitely thinking about it as a problem space.
[00:11:16] Ekanth Sethuramalingam: But then overall there are companies out there that are also trying to solve this a little bit. So I’m generally looking at what’s happening there from that perspective.
[00:11:26] Ganesh Srinivasan: Yeah, makes sense. By the way, that reminded me, obviously Google Docs and others have sold it to some extent, but I think the, I’m sure you may remember the Google Wave project, right?
[00:11:36] Ganesh Srinivasan: If was one of the first that did a great job. We didn’t get productized in that fashion though.
[00:11:43] Ekanth Sethuramalingam: So I think some of these things, I think even if you have a good technical primitive, finding the right surface area or the product experience is a huge variable here in terms of fitting what the user needs to an extent it, sometimes you have it, it’s very nice and cool, but then you just don’t find a good fit as a use case.
[00:12:04] Ganesh Srinivasan: Absolutely. I agree with you. And then, what would be, and that’s a good one. I think you answered it, but maybe another way to ask you is maybe, what is the AA platform or infrastructure you wish was available for you?
[00:12:14] Ganesh Srinivasan: Obviously this seems pretty corporate if you removed this whole data, multiple people, data of stuff. Is there a tool, a platform, an infrastructure company you wish, “Hey, I hope this just existed for you.”
[00:12:26] Ekanth Sethuramalingam: I think, if you look at the real-time streaming databases, some of them are even trying to materialize different views as changes flow in. And for certain data types, the, I think it works reasonably well. But then if a datatype is, let’s say, recursive and you will have to materialize something that the order of magnitude of…because it’s a tree, right?
[00:12:54] Ekanth Sethuramalingam: So to an extent, some operations can fan out in an unbounded fashion. So if there are primitives that help solve, I think, I mean if you look at companies like Materialize even things on top of case streams, right? That, that companies are self-solving. That’s interesting, that’s very interesting as a primitive to be able to, let’s say, have materialized views of certain core-based data and then solving that for a recursive, very unbounded situation.
[00:13:27] Ekanth Sethuramalingam: It’s a perimeter that I’d like to see. I mean I’ve done very little exploration here, but then that’s a problem that I is interesting, especially if the data shape changes. If it’s flat, let’s say simple join is one or somewhat of a simple join is one. But then if you have data sets that are recursive, self-referencing and then you need to materialize the across a big tree.
[00:13:49] Ekanth Sethuramalingam: And how do you bound it? How do you do it in a way that it feels real-time? That’s interesting to see.
[00:13:55] Ganesh Srinivasan: That makes sense. And I think a lot of companies trying to get into that. To your point Confluent is trying to do that with Kafka Streams. Case you met Materialize Rock set.
[00:14:04] Ganesh Srinivasan: And to your point, yes, meaning if your queries are clear and it’s not it’s not super complicated, at least many of them are tackling it both for, real-time like lot kind of queries or old tp, I think that’s working well. But if it’s unbounded or more complicated.
[00:14:19] Ganesh Srinivasan: Similarly, especially I think your data, I think we discussed earlier too, right? It’s more of a tree or a graph and that makes it much harder as well, right? To see these relationships and be able to query them. Super interesting. And thanks a lot. I think that’s all very exciting.
[00:14:36] Ganesh Srinivasan: Let me just ask you a bunch of quick hero sort of questions. You can just answer them with one board, one sentence or, if you wanna go longer, feel free to do that. So first generative AI, is it good or bad?
[00:14:48] Ekanth Sethuramalingam: I’m a very hopeful person, so I think it’s gonna be good, but I am sure there’s gonna be that counterpart, which is gonna be bad. But then I think we’ll, as long as we stay on top of it, we will continue to be able to see a lot of the goodness that it can add. I’m very hopeful.
[00:15:06] Ganesh Srinivasan: CLI or UI?
[00:15:09] Ekanth Sethuramalingam: I’m a CLI person.
[00:15:11] Ganesh Srinivasan: Python or Java?
[00:15:13] Ekanth Sethuramalingam: I’d say Java.
[00:15:15] Ganesh Srinivasan: Java or Rust?
[00:15:17] Ekanth Sethuramalingam: I’d say Rust. I come from a very low-level system C background I… It was a time when I would hate… I used to not respect Java as much at all, and I used to be very C++, I was even doing assimilative things, I’m a very system C person, so I would definitely say Rust from that perspective, but again, Java’s changed the world, Java’s done magic to many areas, built a lot of interesting… Big things are built with Java, so I have a lot of respect for Java. After using it, after having… After seeing that other side of perspectives on it, I’m very language agnostic at that point. I think of it as a tool to solve problems. But then, if you have that comparison, I’d say Rust.
[00:15:59] Ganesh Srinivasan: Alright. Databricks or Snowflake?
[00:16:02] Ekanth Sethuramalingam: I come from a very open-source-friendly background, so I’d pick an open data lake, but again, if you ask, between these two… You use Snowflake today so I’ll say Snowflake for that reason, but again, I’ve used Spark, and I love what Databricks has done to that space including, initializing that lake house idea, all of that. So I think I have a lot of respect for both companies, and their own, meaningful impact.
[00:16:31] Ganesh Srinivasan: Alright, I think, well-spoken. I think, you gave your answer, but with a little bit of a particular undertone below, but some people like Databricks, some like Snowflake, and they both are great products and companies as well.
[00:16:43] Ganesh Srinivasan: Hey Ekanth, this was fun chatting with you. Thanks for taking the time. And I’m guessing of many of the companies, is Notion still hiring?
[00:16:51] Ekanth Sethuramalingam: Notion’s absolutely still hiring.
[00:16:54] Ganesh Srinivasan: So I would say, would folks like, if you’re listening and if you’re interested in that kind of product Notion’s relaying and kind of things that they’re doing and amazing challenges, so I, I’m sure you could reach out to Ekanth.
[00:17:07] Ekanth Sethuramalingam: Thank you, Ganesh, for having me. It was fun talking to you as well. Bye-bye.
Follow Ethan: https://twitter.com/ethanjb
Follow Ganesh: https://twitter.com/gan3sh




