mit-pdos / noria

Fast web applications through dynamic, partially-stateful dataflow
Apache License 2.0
4.98k stars 242 forks source link

Add stateless reader domains #103

Open jonhoo opened 5 years ago

jonhoo commented 5 years ago

It came up in a discussion today that it'd be neat to have stateless domains below Reader nodes that reads could "process" things they extract from Reader state through. Since the domain is stateless, readers could all process this data-flow in parallel using combinations of data they've read without worrying about synchronization with other executors. This would allow us to move certain compute to the readers, which might let us materialize a less verbose Reader further "up" the graph (e.g., above an expensive join).