Skip to content

Create architecture diagram for the distributed system #4471

Open

Description

@mrocklin

Currently our best architecture diagrams are the following:

It would be nice to refresh these diagrams so that they can be more easily used
in documentation and presentations. In particular it would be useful to make
clear the following points:

  1. Dask networks are composed of three pieces

    1. A centralized scheduler, which manages workers
    2. Many workers, which do the computation, hold onto results, and
      communicate results to each other.
    3. One or multiple clients, from which users interact from Jupyter
      notebooks or scripts and submit work to the scheduler for execution on
      the workers
  2. Dask can be deployed on many different cluster technologies including

    • Hadoop/Spark clusters running YARN
    • HPC clusters running job managers like SLURM, SGE, PBS, LSF, or others
      common in academic and scientific labs
    • Kubernetes clusters, either on the cloud or on premises

    I feel that these base technologies are typically represented as the bottom layer of a set of blocks

  3. The user, in their Jupyter notebook uses normal Python code that looks like
    Pandas, Scikit-Learn, or other common PyData libraries.

    Dask then breaks up these big data computations into many smaller
    computations that actually use the Pandas, Scikit-Learn, and other
    libraries, submits them to the scheduler, and runs them on the workers,
    giving the user the experience of big data with familiar libraries.

  4. Dask can also extend far beyond traditional MapReduce/Spark style
    comptutations, and can execute much more complex algorithms, such as are
    often needed in modern problems today extending beyond typical database
    queries.

This is a complex story that we'll need to tell both in static images, but also
possibly in animations, slide transitions, or even short videos.

I'm writing this issue mostly to point people with some design experience. Anyone would be welcome to help out here.

Activity

  1. jjerphan commented on Feb 25, 2019

    @jjerphan

    Hi,

    I agree with what you present here. One of the great tool that could be used for this is PlantUML. It is not as flexible as manually designed schema, but it has the advantages of quickly providing textual descriptions that are easily extensible.

  2. added
    documentation
    on Apr 30, 2019
  3. jrbourbeau commented on Aug 1, 2019

    @jrbourbeau
    Member

    I was experimenting with Google Drawings to make diagrams for a recent talk. I found it to be relatively straightforward to use and had fun making a few figures (shown below). Thought I'd share some of them here. (Btw, the style of these diagrams is heavily inspired by a recent post from @alimanfoo in the zarr gitter channel)

    Overview diagram (effectively the same as the current overview diagram):

    _Users_jbourbeau_Downloads_dask-overview svg (1)

    Blocked algorithm:

    _Users_jbourbeau_Downloads_dask-blocked-algorithm svg (1)

    Distributed scheduler diagram:

    _Users_jbourbeau_github_jrbourbeau_ddw-dask_images_dask-cluster svg

  4. jameslamb commented on Sep 20, 2020

    @jameslamb
    Member

    @jrbourbeau just want to say I LOVE these diagrams. I just stumbled onto them from search, looking for some things for a conference talk I'm preparing. I'm planning to use these (with image credit given, of course).

    I think they explain the core concepts better than the ones in the documentation today, such as the existing collections-task_graph-schedulers one at https://docs.dask.org/en/latest/scheduling.html#scheduling

  5. kvnkho commented on Aug 10, 2021

    @kvnkho

    @jrbourbeau This is the second time I myself looking for these images as I prepare a presentation. Funny enough, I first saw it from a presentation @jameslamb did. Would like to echo the comment that these really fit into the docs.

  6. mrocklin commented on Aug 11, 2021

    @mrocklin
    MemberAuthor

    Since people seem to be looking here I'll drop in some images. These are the reuslts of a community design party a couple of years ago and more recent updating by the Coiled marketing folks.

    abstraction-hierarchy
    abstraction-hierarchy-white
    Bursty workloads
    Dask Adaptive - Scaling (1)
    cluster-manager
    Dask Array
    Dask on Kubernetes
    Dask Branding Guidelines
    dask-gateway-portals
    dask-dataframe
    dask-overview
    dask-workflow
    distributed-overview (1)
    joblib
    map-reduce-vs-task-scheduling
    Scheduling unused capacity (1)

  7. jjerphan commented on Aug 11, 2021

    @jjerphan

    For inspiration, here is a diagram that I once created for a presentation.
    Screenshot from 2021-08-11 09-11-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions