# S7 Bonus: Cloud-Native Streaming SQL with Arjun Narayan of Materialize

Published: 2023-01-11
Duration: 1524s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/3b82397c-e008-47a4-bf4a-955196b6ae5d/stream.mp3

## Key Takeaways
- Rebuilt for the Cloud: Materialize moved to fully hosted SaaS and re-architected the product rather than just hosting the old one. Users no longer carry the management or operational burden.
- Storage and Compute, Separated: Ingested data is stored permanently on S3, while compute clusters run in containers on EC2 and scale independently. Users spin one up with a SQL command, create cluster.
- Isolation With Shared Data: Instead of running many separate Materialize deployments, teams can share data under one control plane. Independent clusters keep dev work from taking down production.
- Streaming Joins in Plain SQL: Joining streams like web events and transactions means managing large, fast-changing state. Materialize handles it through a materialized view, with Drizly's abandoned cart notifications as an example.
- Batch ML Moving Real-Time: Narayan sees many users go on to move batch machine learning pipelines to real time, running training and prediction as a continuous closed loop in SQL.

**Cloud-native streaming SQL: returning guest Arjun Narayan of Materialize on a database that keeps query results current as the underlying data changes.**

———

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. Thats M A T E R I A L I Z E.com.

Sponsors

- [Airbyte](http://airbyte.com/codestory)
- [Doppler](http://doppler.com/codestory)
- [Host.io](https://host.io/)
- [IPInfo](https://ipinfo.io/)
- [mabl](https://www.mabl.com/codestory)
- [SupportZebra](https://supportzebra.com/)

Links

- Website: [https://materialize.com/](https://materialize.com/)
- LinkedIn: [https://www.linkedin.com/in/arjunravinarayan/](https://www.linkedin.com/in/arjunravinarayan/)
- [https://codestory.co/podcast/e11-arjun-narayan-materialize/](https://codestory.co/podcast/e11-arjun-narayan-materialize/)

  

Timestamps

00:00 – Intro

00:59 – What Is Materialize

02:02 – Moving to Cloud-Native SaaS

04:15 – Customer Impact of SaaS

06:07 – Getting Started on Materialize

07:44 – Low Latency in the Cloud

09:31 – Still Good Old SQL

10:04 – Evolving the Compute Engine

14:17 – Cross-Stream and Multi-Way Joins

17:36 – Materialize Customer Case Study

18:38 – Who Should Adopt Streaming

20:06 – Trying Materialize From Scratch

21:47 – Hiring at Materialize

23:20 – The Future of Materialize

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Arjun Narayan from Materialize: [https://www.codestory.co/episodes/s7-bonus-whats-new-with-materialize-arjun-narayan-co-founder-ceo/](https://www.codestory.co/episodes/s7-bonus-whats-new-with-materialize-arjun-narayan-co-founder-ceo/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 0:59 — What Is Materialize
- 2:02 — Moving to Cloud-Native SaaS
- 4:15 — Customer Impact of SaaS
- 6:07 — Getting Started on Materialize
- 7:44 — Low Latency in the Cloud
- 9:31 — Still Good Old SQL
- 10:04 — Evolving the Compute Engine
- 14:17 — Cross-Stream and Multi-Way Joins
- 17:36 — Materialize Customer Case Study
- 18:38 — Who Should Adopt Streaming
- 20:06 — Trying Materialize From Scratch
- 21:47 — Hiring at Materialize
- 23:20 — The Future of Materialize

## Frequently Asked Questions
- **Q:** What is Materialize? — **A:** Materialize is a database purpose-built for fast-changing data, aiming to be as easy to use as a familiar database like Postgres. Arjun Narayan, its Co-founder and CEO, explained that you can take any query, turn it into a materialized view, and it "will continue to stay up to date, updating incrementally in the background" [07:10].
- **Q:** How is Materialize's cloud architecture built? — **A:** Narayan said the team broke apart what had been a tightly co-located deployment into parts that users can scale independently, with data stored on S3 and shared across compute clusters. In his words, "we built a storage engine for storing all of your streams of data" [10:53] and separated it from the compute engine.
- **Q:** Does moving Materialize to the cloud increase latency? — **A:** Narayan said it isn't much of a problem, since most users were already running Materialize on AWS and much of the latency comes from moving data between systems. He noted that you can bring it down "by co-locating your Materialize right next to your Kafka cluster" [08:49].
- **Q:** How does Materialize handle joins across data streams? — **A:** Users write the join in SQL as a materialized view, just as they would in another SQL database. Narayan said of the underlying work, "we take care of that streaming data flow, incremental updates, state management problem for you" [16:44].
- **Q:** Do you need an existing data pipeline to try Materialize? — **A:** No, although Narayan said most users connect existing sources such as Postgres or Kafka. If you have nothing set up, "You can start with some fresh empty tables and start inserting the events yourself." [20:27] At the time of the interview, access was through an early access sign-up with a waitlist.
