Dov Alperin is a developer at the streaming database company Materialize. He joined after three years at Fly.io, where he started working at the year he finished high school.interviewsPostgreSQLDatabasesOrchestrationProgramming LanguagesTable FormatsQueuesInfrastructure as CodeDeveloper ToolsConsulGoIcebergJavaScriptKafkaKubernetesMySQLNomadPHPSQL ServerTerraformVitesspgBouncerPhil Eaton Focus.

Recent findings suggest that on a technical level this incident has definitely reshaped parts of my brain in terms of how to articulate checkable invariants before you start building something (for example the storage engine will now not take a breath without checking it doesn’t change a batch's sum-of-diffs). And it’s also given me the QA bug of making sure that however you are validating your system sufficiently covers all possible (within reason) production configurations.You then joined Materialize in March 2025. What drew you to building a streaming database?#PlanetScale had a product called Boost, a really cool idea where you could “boost” a query and they would assemble a dataflow of your query downstream of Vitess replication streams, and using Noria style up-queries. The whole idea of somehow “magically” computing changes to a SQL view on push was instantly fascinating to me. So I read the Noria paper, which led me to the Timely and Differential Dataflow papers, which led me to knowing about Materialize, at which point the incremental computation and view maintenance bug had totally taken hold of me.Slightly later on I met Frank and we had a long conversation where I ~~harassed~~ asked him lots and lots of questions about some of the finer details of timely progress tracking. A few months after that I had the opportunity to interview at Materialize and I took it. The opportunity to work on the edge of the DB literature but also on a real product that people use and like (hopefully) has been really fulfilling.For readers who haven’t used it, what problem does Materialize solve? Why not a cron job that reruns a query?#Most folks who deploy software at scale have data that is constantly changing in a bunch of different operational data stores: Postgres, MySQL, Kafka, SQL Server, CSVs in S3 (yes, really), whatever. But they also want the ability to run arbitrarily complicated SQL (joins, aggregations, recursion) over that data. And preferably they’d also like that data to be correct and up to date. It is traditionally hard to get a system that meets all three of these requirements.Materialize aims to achieve all three. You hook Materialize into your various data sources, and then you write your SQL views against the data. It computes the result, then keeps it current as the results change. Crucially it only updates the part of the data affected by each change rather than starting over. In a traditional RDBMS if you have a billion rows, and you change one you have to rerun your whole query to get an updated result; we avoid that.Running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the big one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That stated, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever strategy the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big glitch we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

According to recent reports, planetScale had a product called Boost, a really cool idea where you could “boost” a query and they would assemble a dataflow of your query downstream of Vitess replication streams, and using Noria style up-queries. The whole idea of somehow “magically” computing changes to a SQL view on push was instantly fascinating to me. So I read the Noria paper, which led me to the Timely and Differential Dataflow papers, which led me to knowing about Materialize, at which point the incremental computation and view maintenance bug had totally taken hold of me.Slightly later on I met Frank and we had a long conversation where I ~~harassed~~ asked him lots and lots of questions about some of the finer details of timely progress tracking. A few months after that I had the opportunity to interview at Materialize and I took it. The opportunity to work on the edge of the DB literature but also on a real product that people use and like (hopefully) has been really fulfilling.For readers who haven’t used it, what problem does Materialize solve? Why not a cron job that reruns a query?#Most folks who deploy software at scale have data that is constantly changing in a bunch of different operational data stores: Postgres, MySQL, Kafka, SQL Server, CSVs in S3 (yes, really), whatever. But they also want the ability to run arbitrarily complicated SQL (joins, aggregations, recursion) over that data. And preferably they’d also like that data to be correct and up to date. It is traditionally hard to get a system that meets all three of these requirements.Materialize aims to achieve all three. You hook Materialize into your various data sources, and then you write your SQL views against the data. It computes the result, then keeps it current as the results change. Crucially it only updates the part of the data affected by each change rather than starting over. In a traditional RDBMS if you have a billion rows, and you change one you have to rerun your whole query to get an updated result; we avoid that.Running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the massive one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That stated, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever blueprint the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big concern we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage consumers to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that slightly later on I met Frank and we had a long conversation where I ~~harassed~~ asked him lots and lots of questions about some of the finer details of timely progress tracking. A few months after that I had the opportunity to interview at Materialize and I took it. The opportunity to work on the edge of the DB literature but also on a real product that people use and like (hopefully) has been really fulfilling.For readers who haven’t used it, what problem does Materialize solve? Why not a cron job that reruns a query?#Most folks who deploy software at scale have data that is constantly changing in a bunch of different operational data stores: Postgres, MySQL, Kafka, SQL Server, CSVs in S3 (yes, really), whatever. But they also want the ability to run arbitrarily complicated SQL (joins, aggregations, recursion) over that data. And preferably they’d also like that data to be correct and up to date. It is traditionally hard to get a system that meets all three of these requirements.Materialize aims to achieve all three. You hook Materialize into your various data sources, and then you write your SQL views against the data. It computes the result, then keeps it current as the results change. Crucially it only updates the part of the data affected by each change rather than starting over. In a traditional RDBMS if you have a billion rows, and you change one you have to rerun your whole query to get an updated result; we avoid that.Running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the big one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That noted, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever blueprint the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big matter we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Sources indicate that most folks who deploy software at scale have data that is constantly changing in a bunch of different operational data stores: Postgres, MySQL, Kafka, SQL Server, CSVs in S3 (yes, really), whatever. But they also want the ability to run arbitrarily complicated SQL (joins, aggregations, recursion) over that data. And preferably they’d also like that data to be correct and up to date. It is traditionally hard to get a system that meets all three of these requirements.Materialize aims to achieve all three. You hook Materialize into your various data sources, and then you write your SQL views against the data. It computes the result, then keeps it current as the results change. Crucially it only updates the part of the data affected by each change rather than starting over. In a traditional RDBMS if you have a billion rows, and you change one you have to rerun your whole query to get an updated result; we avoid that.Running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the significant one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That said, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever plan the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big issue we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a upcoming source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage owners to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Materialize aims to achieve all three. You hook Materialize into your various data sources, and then you write your SQL views against the data. It computes the result, then keeps it current as the results change. Crucially it only updates the part of the data affected by each change rather than starting over. In a traditional RDBMS if you have a billion rows, and you change one you have to rerun your whole query to get an updated result; we avoid that.Running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the significant one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That said, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever plan the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big issue we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage people to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Sources indicate that running a query on a cron job totally succeeds at allowing you to write arbitrary SQL (there are plenty of batch engines which will do this) and make sure it’s correct but it trades off freshness. The other non-obvious thing it trades is consistency. We guarantee in Materialize that all views are always transactionally consistent. This is much harder to do with various cron jobs running different queries at different times.What have you been working on at Materialize recently?#In order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the significant one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That stated, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever strategy the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big issue we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a newly introduced source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

According to recent reports, in order to efficiently maintain arbitrary queries we often need to build a bunch of intermediate state. For instance given a join R ⋈R.id = S.id S we need to store R and S “arranged by” id, which is to say (basically) R and S indexed by id. The implementation of arrangements can mostly be thought about as a Weird LSMT ™️. There are a few other kinds of intermediate state in Materialize but this is the major one.Arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That said, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever proposal the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big problem we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a newly introduced source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

It has been revealed that arrangements are a concept from Differential Dataflow, and in many ways the architecture of today's Materialize can be largely thought of as a SQL to DD compiler. TD and DD lets you write data parallel computation but was designed to assume that once the data is in the system, it’s in memory. At best a cache line away, at worst a memory access. This has a number of appealing properties: memory is fast, you don’t have to worry about async scheduling/IO, the abstractions are pretty clear and direct.That stated, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever proposal the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The major matter we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a upcoming source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage owners to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

That said, I’m not sure if you are familiar with the price of RAM right now but it’s not getting any cheaper, which is a tough spot to be in for customers who want to put larger and larger workloads onto Materialize. The goal of a truly “out-of-core” Materialize (name borrowed from out-of-core algorithms) has been around for a while. First with a custom allocator called lgalloc which is backed by memory-mapped files, then with good ol’ OS swap. But finally we have been working to design, build, and deploy a real buffer manager to spill to disk in a principled way.This requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever plan the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The substantial problem we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a fresh source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage customers to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that this requires rethinking a number of details throughout the timely->differential->materialize stack and also involves a lot of work to reorient various parts of mz to use larger “columnar” allocations rather than tons of tiny Row allocs.I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever proposal the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The substantial matter we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That mentioned, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that I’ve been doing this work with the incomparable Moritz Hoffman, and we’ve been writing about it on the Materialize Blog. I’m hoping to release more technical details soon as well.What’s it like being compatible with Postgres without being Postgres?#With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever initiative the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The massive issue we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a newly introduced source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That stated, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage consumers to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

With the benefit of hindsight, I think supporting the Postgres wire protocol was obviously correct, but we could loosen our commitment to adopting Postgres semantics so directly. Postgres error and expression evaluation semantics are wildly underspecified. For example, the Postgres docs explicitly leave evaluation order undefined, so whether a query errors can depend on whichever plan the optimizer spits out. That's a little weird in the base case, but less tolerable when the query doesn't just go away and is instead a view you need to maintain long term.And in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big matter we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That stated, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage owners to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that and in the ways that Postgres semantics are at least predictable, they often don't map well to a "streaming" worldview. I think everyone largely agrees that we should try and formalize some semantics in Materialize, even where it might break strict Postgres compat, but there are only so many hours in a day/days in a year. We'll get there eventually. Also, the answer to this question is probably a whole separate blog post, and we should write one.Since you’ve worked on Materialize’s Iceberg sink; who’s asking for it, and what is hardest about getting streaming data into Iceberg?#Materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The major matter we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a upcoming source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage people to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that materialize is decidedly for operational data, questions like “what’s goin’ on right now”, we aren’t great at questions like "maintain this view for the last five years of data.” But Materialize has done all the work of crunching through the raw data to turn it into data products, and customers wanted a way to send the output of those computations into analytical systems for historical and analytical purposes.Iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big problem we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That remarked, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage owners to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

According to recent reports, iceberg has clearly won as the lingua franca of data interop between systems and so was the obvious choice for us when thinking about this problem. The big issue we had implementing Iceberg support was a bit of an impedance mismatch between the goals of the Iceberg spec and Materialize. Materialize wants to keep information constantly up to date, whereas Iceberg is not made for that. If you commit to Iceberg once a second that means writing multiple files to S3 per second which readers and compactors have to deal with (and evidently don’t entirely love).We ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other big problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a upcoming source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That stated, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Sources indicate that we ended up allowing the user to specify a “commit interval”, allowing them to configure the tradeoff between freshness and read performance.The other major problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a fresh source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage customers to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance problem.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

The other massive problem was consistency. Correctness is one of the big selling points of Materialize and whenever we build a new source or sink we go to great lengths to make sure we can offer strong guarantees at the bounds of our system.What would you change about Iceberg if you could?#I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That noted, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage customers to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance problem.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that I think the Iceberg goal of the data in the bucket being fully self-describing is noble. But I think that focus and desire to avoid leaning on some external database led to some unfortunate ergonomic decisions like: "you have to rewrite the whole manifest every time you want to append to the table." And after all of that, most Iceberg catalog deployments require a relational datastore anyway!That said, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage owners to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

According to recent reports, that remarked, the Iceberg team is great, and the v4 single-file-commit work is heading in the right direction. But honestly, I'd be hard pressed to do a better job than DuckLake for how I think something like this should work.How do you debug a wrong answer in a streaming system?#One nice thing about Materialize is that we encourage people to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance matter.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Sources indicate that one nice thing about Materialize is that we encourage users to de-compose their logic into smaller views which can depend on each other and be reused. If you have some weird behavior in a leaf node, you can walk the directed graph backwards looking for the source of the error/confusing behavior/performance issue.We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That remarked I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

We’ve also built strong introspection into the product itself which allows us to dig into details about specific dataflows at runtime, and we’ve built user facing tools on top of it like EXPLAIN ANALYZE.Incremental view maintenance gets hard with joins, aggregates, and late or out-of-order data. Which query shapes are still hard to keep up to date, and what does Materialize do about them?#We have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

In a recent development, we have all sorts of cool tricks up our sleeves. Sharing arrangements across queries to avoid duplicate work. Delta Joins to handle multi-way joins by building one dataflow path per input. Various bits of join lowering to allow for more efficient reuse. Hierarchical reductions allow us to maintain MINs and MAXes with logarithmically bounded amounts of work by splitting each group into small hash-based subgroups, reducing them and feeding the results into coarser rounds. We have various monotonic specializations for things like top-Ks. We support recursion.And late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

It has been revealed that and late data isn’t a special case for us either; every piece of data has a timestamp and we only report results once the inputs are complete through that time.How does working on a database compare to working on a cloud platform? Which bugs are harder to find?#I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that I think it’s more possible for me to hold the whole Materialize deployment in my head at a given time. Which is not to say that I understand all of Materialize perfectly, but that if I set up a test bench to work on a proxy of the production environment I can feel fairly confident that my setup largely matches the conditions and operation of prod.At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That stated I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

At Fly this never totally felt true for me, there are so many edge cases. Fly has hardware all over the world! It’s all different! The internet is fickle and hates to be tamed! That said I’m not entirely convinced this take isn’t infected with a significant amount of recency bias.What’s outside your window at the office?#There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

There’s a rooftop garden next door that we look out on. I’d love to meet our neighbors some day.What are you curious to learn about next? And thank you for your time!#I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Industry observers note that I’ve been trying to bolster my math education which is, uh, fairly shallow generally. I started this effort earlier this year and in the ensuing time it seems like the future is giant LLM-driven proofs, but I guess it will be cool to learn how to read more of them.Thanks for having me on!

Recent findings suggest that noticed a mistake? Have a question or comment? Write to the editor.

📌 Read also:

→ Read original article