S7 Bonus: Whats New with Materialize - Arjun Narayan, Co-founder & CEO [0:00:00] Noah Labhart: Hello again listeners, today I have yet another special return episode for you. I'm speaking with Arjun Narayan, Co-founder & CEO of Materialize. He told us the creation story of the product and company in Season 4, Episode 11, which I would encourage you to go back and listen to. Similar to yesterday's episode, Arjun is returning to the podcast since his prior appearance to give me major updates on the company and the product. As a reminder, Materialize is a fast distributed SQL database based on streaming internals, which allows you to have data consistency, scalability and low latency. You can learn more about the product at materialize.com. That's M-A-T-E-R-I-A-L-I-Z-E dot com. Well, I have a very special return guest today. Arjun from Materialize is rejoining us today to give us an update on the company, on the product and all things that have been happening. Since we last spoke, Arjun, thank you for being on the show today. [0:00:56] Arjun Narayan: Thank you very much for having me a second time. [0:00:59] Noah Labhart: Absolutely. But before we jump into what has happened with Materialize as a refresher, tell the audience, what is Materialize? Give me the elevator pitch of what the product is. So [0:01:12] Arjun Narayan: Materialize is a cloud-native streaming database. So it's a database that's purpose-built for fast-changing data. Most databases that you may be familiar with tend to assume that your data set changes relatively slowly. If it's a data warehouse for large-scale analytics tasks, for instance, or it's a database that's optimized for transactional systems such that they do very little changes to the data at any given point in time. As a consequence, building real-time applications today requires using these stream processors that are more laborious and cumbersome to use, Materialize gives you all the simplicity of using a database that's as easy to use as, say, a Postgres or a database that you're familiar with, but all the power of working on top of fast-moving, high-volume, real-time data. [0:02:02] Noah Labhart: So tell me what has happened with the platform, with the product, with the company since we last spoke. [0:02:06] Arjun Narayan: The biggest update is Materialize is now a fully cloud-native hosted SaaS offering, which has allowed us to take it apart and piece it back together in a much more powerful way for our users. The most important update is it's fully hosted, it's in the cloud, and there's no management or operational burden to using Materialize. Tell [0:02:30] Noah Labhart: me about the process of taking it apart and putting it back together in a fully cloud-native SaaS offering. Tell me about what made you decide that. What made you decide that that was the best route to move forward? [0:02:40] Arjun Narayan: I think most people in the industry would agree with the statement that that's where the world is going. In fact, that's where the world has been going for many years at this point. Most enterprise software products have been moving to become cloud native. Most enterprise and developer tools are primarily used on the cloud, whether they are sold that way or not. Given that we've all sort of recognized that this has been going on, it's been a mixed result in terms of companies adapting the way they build and deliver the software to make it optimized for the cloud. I think there's sort of the first wave where you take the same product that you've been building and you just sort of host it for your customer. But that sort of misses the mark because the cloud with its own unique features such as the near infinite or seemingly infinite scalability of various dimensions allows you to re-architect your product to be truly cloud native and take full advantage of things that couldn't be delivered before in an on-premise piece of software where you sort of had to hedge around the fact that it could be deployed in a wide variety of hardware configurations. And that's been a large part of what we've been occupying ourselves with is not so much the hosting it in the cloud part, but in the rethinking what we could build even better for our users now that we are singularly focused on delivering Materialize as a cloud native product. product. [0:04:15] Noah Labhart: So I'm an engineer, right? I'm a math nerd. I'm a data nerd. And I'm sure a lot of my audience would like to hear. Tell me about the impact that this new approach is making for your clients, your customers. What is the data behind the impact? [0:04:30] Arjun Narayan: The biggest one is that users can get a unified approach to a wide variety of uses that really benefit from having a single control plane Whereas previously, many of our users had dozens of little Materialize databases running around. And this might be familiar to folks who perhaps are operating a data architecture that has dozens of Postgres databases around, right? You have some for staging. You have some for testing. You have some in production. You have multiple tiers of uses behind the scenes. You have some P1 databases. You have some P2, less critical but still important to your business that are siloed away. this creates a tremendous operational burden. And what we have with Materialize today is a single unified experience that allows you to share data amongst all of these while still having the confidence that your P1 absolutely mission critical uses do not interfere with, say, a dev environment that, you know, dev always benefits, for instance, from having a copy of of the up-to-date data, but that becomes difficult when you're sort of migrating data from your production database to your local development environment or your cloud-hosted developer environment. And it's really wonderful to have both the flexibility of cloning all this data around in a single environment while having the confidence that the operational tooling exists so that you can have the confidence that one developer somewhere is not going to take down on prod. [0:06:07] Noah Labhart: Okay, so with Materialize, with the new SaaS offering, complete SaaS offering, say I've got a solution built on a different platform. How do I get over to Materialize? How do I utilize Materialize? Or how do I most effectively take advantage of the platform? So [0:06:26] Arjun Narayan: the first part would be hooking up your data sources, right? So you might have data flowing going through a data architecture using a message bus like Apache Kafka, or you might want to pull data directly from a database like Postgres. And the first step is you sign up for a Materialize cloud account, you get access, and then you connect up these sources of data. Then Materialize starts streaming them in, pulling automatically, continuously from Kafka or from Postgres your data. And then you write SQL queries on top of this data. And the unique thing about Materialize is you can create these, you can take any query and you can create a materialized view that will continue to stay up to date, updating incrementally in the background at all times as that data streams in. And so when you query from these materialized views, you're always getting a fully completed result that is up to date with all the upstream data sources, even when the data, even when the query itself is transforming a lot of data, it's extremely stateful, it's extremely complex. You don't have to worry about any of that. You just have these materialized views that are sort of almost magically always up to date. So, [0:07:44] Noah Labhart: you know, in my mind, I'm thinking, you know, there may be some folks that don't really really understand the difference between on-prem and cloud. And I'm curious, you know, my question is this, when you were describing now there's this fully SaaS cloud-based offering, when I've got, you know, the on-prem materialized in the closet next to my office, it's probably going to be pretty fast, right? How do you maintain the low latency, the speed while putting it into the cloud over on-prem? Does that question make sense? [0:08:16] Arjun Narayan: It does make sense. In fact, I think latency It isn't really that big of a problem in the cloud because, to be honest, most people are running most of their stuff in cloud instances anyway. Most of our users were running Materialize in an EC2 container on AWS. So the lived experience of the latency isn't very different whether we're operating it or the user's operating it in terms of speed and latency. The other thing is most of the latency comes from moving the data around, say, from your Kafka to your Materialize. And one of the ways in which you can really bring that down is by co-locating your Materialize right next to your Kafka cluster, right? And most of our users have their Kafka clusters running, say, in AWS region in, let's call it, US East 1, right? And with Materialize, you can spin it up in US East 1. The actual movement that is happening behind the scenes is that those two systems are very closely co-located and moving across in the same data center. And as a result, the latency doesn't really get affected as much as you would think when most users are building cloud-native data infrastructures anyway. [0:09:30] Noah Labhart: Okay, so with this new update, right, there's probably some new tooling or new sort of languages perhaps that our people are going to have to learn or is it still based on, you know, good old SQL? It's [0:09:41] Arjun Narayan: good old SQL in the cloud. I think that much has always been an evergreen part of our story, is that users really just want the simplicity of SQL, and they want it without any of the operational burdens of being a database administrator or having to have pager alerts set up to their database infrastructure. [0:10:04] Noah Labhart: So last time we talked, we talked through the origination story in your episode of, telling the creation story materialize. And we talked about the incremental compute engine, right, that your co-founder had written some papers about, and it was sort of the basis of what you're building. Did any of that change or improve or was, you know, built upon in new ways with the SaaS offering? [0:10:28] Arjun Narayan: This is something that I hinted at earlier, which was going to a fully hosted SaaS offering gave us the opportunity to really rethink and rebuild a better experience things that we did was we disaggregated what had previously been tightly co-located into a single deployment into many moving parts that you could independently scale as a user. And really what this comes down to is we built a storage engine for storing all of your streams of data and separated that from your compute engine and then allowed you to scale these two independently. And very complex data flow architecture with many different parts, which at the same time, using the same simplicity and flexibility of doing all of that in SQL. So our storage engine is cloud native in that everything that is ingested gets stored permanently on S3. This is extremely cheap and extremely scalable, right? It's this near infinite scalability that you have at the lowest possible cost. I don't think you could really beat S3 costs for storing data. At the same time, it's still accessible at extremely low latencies by any compute cluster. We call these compute clusters what previously you would have needed in order to get the lived experience of having five separate compute clusters. You'd have to deploy five different materializers, right? And then you'd control each of them independently. None of them would know about each other. And you'd probably use a lot of scripting and automation to sort of keep them in sync if you wanted to do that. And instead now, everything sort of connects through a unified single control plane. And then you just type a new SQL command that we came up with, create cluster, and that spins up the compute part, which is what you talked about earlier, the incremental compute maintenance, the data flow engine in an EC2, in a container on EC2. That compute cluster can pull from any of the ingested S3-backed sources of data, right? So you've got potentially hundreds of gigabytes of data or more being continuously ingested. But now it's also shared amongst all of your compute clusters that can mix and match, that can join that data together, and then that you could sort of feed them to each other in some sort of stage pipeline. So you might have, say, compute cluster one, call it, you know, enricher, right? It's the data enricher that pulls data from a few different Kafka topics, joins that across multiple different tables from Postgres, and creates a more enriched source of data that's potentially useful to multiple different teams in your company. You can then have that get saved back in S3. And then multiple different teams, say there's a machine learning team that wants to not have to redo all that work of re-enriching that data. that could be sort of a standard service provided by your data engineering team, they spin up their own compute cluster, call it ML, and that reads that enriched data source. And now you've got the staged pipeline where the data is flowing in from these external sources of data being enriched by one compute cluster. And then these are all independent failure domains, right? So if one of these clusters goes down, yes, the data stops incrementally updating, and you are now potentially serving stale data to your customers. We can talk a little bit about some of the other work that we've done in making these highly available, because not only can you run this in a staged fashion, you can run these in parallel. And we've really been able to take what in the past we had viewed as a singleton, the incremental data flow updating compute engine, and make it a component that can be endlessly replicated and reused across a larger Materialize control plane environment. [0:14:17] Noah Labhart: That's super exciting and really fascinating technology and the ways that problem. I think something that really jumps out at me, I take a database, right? And it's simple thought of a database. You've got tables and you join those tables to create some sort of view of it, right? What's interesting or jumps out at me in Materialize is the multi-way and the cross-stream joins, right? So you've got multiple different sources or multiple different streams, and you can join them like they are sitting in the same database. Tell me a little bit about that, Because I think my audience would find that just as fascinating. [0:14:53] Arjun Narayan: That's probably the number one most delightful feature that our users love, which is without Materialize, joining disparate streams of data is very hard. And the primary reason for this is it's a computationally difficult task that involves a lot of state management. A good way to think about this is try to imagine you have some segment web events. Hot off the presses by a segment, right, as users are navigating your website, and you are trying to join this against your transactional data. Let's say measure whether users who are hitting your website are taking some action that, you know, is hitting your transactional database. So you have events coming from segment with some IDs, you have transactions coming out for your database, and you're trying to line these things up. Now, this requires that whatever system is lining these things up, so to speak, has to be able to keep all the unmatched pieces of data in some data structure and sort of quickly match them up as new ones come in. And this could end up being potentially very large, right? You might have a fairly large set of outstanding not yet matched events. And this is the hard part of doing streaming joins. It's the fact that it's highly stateful. You might have gigabytes and gigabytes of stuff. That stuff is changing very fast. As you match something, you probably want to remove it from consideration from the set. You might want to evict it. And so you really have this sort of fully generalized sort of cache and validation-like problem, which is, you know, extremely hard to solve. What Materialize lets you do is write sort of A join B, create Materialize view as select A join B on, just as you would write it in any other sort of SQL database. And we take care of that streaming data flow, incremental updates, state management problem for you, right? And that really, doing that efficiently in a scalable, correct, correctness part is maybe the most interesting because there's lots of ways to do this in an eventually consistent manner. But if you're actually taking some concrete actions that might, you know, that cannot potentially be, say you're sending a notification or you're firing off an email, you can't unsend those things. You might want to limit yourself only to events where you have a lot of confidence. Doing that correctly in a scalable fashion is the hard technology that underpins Materialize, which my co-founder Frank McSherry built and did research over close to a decade at this point called Timely Dataflow. [0:17:35] Noah Labhart: I really geek out about Materialize. And the more that I look into it and the more I hear about what you are building, it really gets me excited. And I think I'm not the only one, right? major players in the industry using Materialize. Is there a case study out there you're like, wow, this really illustrates how we moved the needle with Materialize? [0:17:58] Arjun Narayan: Example, I gave you Drizly's using Materialize to do notifications on abandoned cart using a join over transactional and web data, right? So that one's a great one because that really is the core. I think it distills it down to the simplest possible use case where it's like, It's one join. Why is this so hard? But then when you consider all of the various moving parts, the fact that you have web events that are coming at a very high volume and you have transactional data coming from a transactional database and you don't want to notification spam your customers, it's exactly why Materialize really shines. [0:18:37] Noah Labhart: Okay, Arjun. So who should take advantage of streaming data over batch data now? Now, who's the, you know, the first candidate you have in your mind of people that could jump in, start using this, you know, given, you know, we understand that we're moving towards streaming data as the de facto, but who should jump in now? [0:18:56] Arjun Narayan: So we have folks who generally come to us from a wide variety of initial uses or a wide variety of industries. But one of the themes that I see is a lot of folks see once they get that up and running. The second use or the use that they gravitate towards is moving their batch machine learning pipelines to real-time. Most machine learning today is done with batch offline training that updates some set of feature weights that they then deploy to production in real-time. But they see a tremendous increase in their metrics when they incorporate the training into their real-time stack as well. And Materialize makes this really easy because it's all just SQL. You can have as a closed loop your training and prediction in a continuous single online real-time fashion. And that's, I would say, is the one thing that folks really, really get a lot of delight out of moving to real time today. [0:20:06] Noah Labhart: If someone wanted to get started with Materialize, if they just wanted to come in and try it, if they wanted to come in and figure out how can I begin to utilize all of these tools, would they need to have something started? Could they come in with nothing? Tell me a little bit about that. [0:20:22] Arjun Narayan: They could come in with nothing. So Materialize is a database that has tables, right? You can start with some fresh empty tables and start inserting the events yourself. Most people come in because they already have some amount of data architecture already set up. And they would connect their databases. We support native connection for Postgres. So we'll talk to your Postgres databases directly. correctly. Or they would do some change data capture into Kafka, which these days we're finding a growing desire of most data companies to provide a real-time access to the databases without interfering with that data, without interfering with the database itself, is to set up change data capture from their operational databases into a Kafka service. Or they may just have Kafka up and running already, and you connect those Kafka topics to Materialize. Today, Materialize early access. So to sign up for Materialize, you would have to go to our website and fill out a form. And we are trying to onboard users as fast as we can, that there is a bit of a wait list at the moment. Hopefully by the time maybe folks are listening to this episode, that is a much shorter time to wait. And of course, the goal is to be a fully self-service product where folks can just sign up and get access to a cloud database within seconds, if not minutes. [0:21:47] Noah Labhart: Well, Arjun, with a product like Materialize and the amazing things you're building there, I'm sure that folks are going to be interested to not only check out the product, but check out your team and check out the needs you might have or maybe even join and work with you and your amazing folks. Where can they find out more about your open positions or are you hiring? We [0:22:09] Arjun Narayan: are hiring actively. We are a hybrid workplace with a headquarter presence in New York City, but with a remote team all over the world. We're a little over 60 people, a little over half in engineering and product. We are hiring in all roles. You can find all our open roles on our website at materialize.com slash careers, I believe. The best part of my job is this amazing team that we've built. It really is an outstanding team of real veterans of the industry who have a tremendous amount of experience. One of the nice things about databases is it is the most mature part of the software industry. The databases at this point are 50 years plus as an industry. And it's a real delight to work with experienced folks who bring a lot of knowledge and skills. And it's a real joy. So we would love it. And we're constantly hiring. It does not get built in a day or a weekend. It's a multi-year project. And we are still in the very early innings of some of our boldest and most interesting features. And please do check out our website and apply. [0:23:20] Noah Labhart: Okay, so really exciting times, Arjun, for Materialize. You continue to do great things, produce a great product. But what's next? What does the future look like post the beating down the door to get access to this fully SaaS offering you have today? So [0:23:37] Arjun Narayan: we have a tremendous amount of work ahead of us building and scaling Materialize to all the users. We would love to scale to the point where we can allow anyone who wants access to Materialize get access within seconds, if not minutes. We would love to have a presence on every single cloud platform. Right now we are on AWS only, and we have an amazing set of features, including upgrades that happen seamlessly without any loss of connectivity ever, a bunch of features to make building applications on top of Materialize that much more seamless, and that there's plenty of exciting feature releases that we are cooking up that I'm excited to show the world in the coming months and years. Well, [0:24:29] Noah Labhart: Arjun, really appreciate you being on the show today. Really appreciate you giving me the update on all the great things you're doing over Materialize. It's really exciting to hear how you've rebuilt and redeployed for a SaaS offering for Materialize, built on the same concepts. Really excited to have you on the show again. It's great to chat with you. [0:24:47] Arjun Narayan: Thank you very much for having me, Noah. [0:24:50] Noah Labhart: Amazing update from Arjun. Materialize is now fully hosted in the cloud. No more on-prem for the product. No more management and operational burden to use Materialize. And in doing so, Arjun and his team were able to optimize yet again their data streaming offering to bring you a low latency world class experience. As I mentioned at the beginning of the episode, you can learn more about the product at materialize.com. That's M-A-T-E-R-I-A-L-I-Z-E dot com. And thanks again for listening.