Skip to content

Add Spark-like scheduling mode with shuffle files between stages #69

Open
@andygrove

Description

@andygrove

DFRay currently creates "stage processors" for each stage in a query plan and eagerly executes queries. This is good for low-latency use cases but can require a large amount of memory.

I would like to have the option to execute using a Spark-like approach where the output of each query stage is streamed to shuffle files and then the next stage streams from that shuffle file via flight (this is the design implemented in Ballista).

I would also like to have a fixed number of "executors" so that concurrency can be controlled more easily.

This would be helpful to cases where users are migrating away from Spark and want a similar execution model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions