Skip to content

Commit

Permalink
Merge pull request #21 from Tauffer-Consulting/shared-storage-docs
Browse files Browse the repository at this point in the history
update shared storage text and images
  • Loading branch information
vinicvaz authored Feb 27, 2024
2 parents 0ca3503 + 980c6a5 commit 07984db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/settings/shared_storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ import TabItem from '@theme/TabItem';

# Shared Storage

Some Pieces produce data that can not be direclty transfered to downstream Pieces in other way than using disk. A common example is a piece that produces a large file that needs to be used by another piece. In this case, you can use the available `Shared Storage` options.
When you have a workflow with more than one piece you may want to transfer data between them.

Domino's Shared Storage is a mounted volume that can be used by all pieces in a workflow, where each piece can have different access level to this volume. With Shared Storage, you can work with files from different pieces as if they were all on the same file system, even if they are running on different machines.
Transfering data between pieces can be done in two ways:
1. **Using XCOM**: This is recommended only for small data. By default all values returned by a piece, defined in the `OuputModel`, are returned to xcom and can be read by downstream pieces.

2. **Using Shared Storage**: Some Pieces produce data that can not be direclty transfered to downstream Pieces in other way than using disk. A common example is a piece that produces a large file that needs to be used by another piece. In this case, you can use the available `Shared Storage` options.

### What exactly is Shared Storage?
Domino's Shared Storage is a mounted volume that can be used by all pieces in a workflow, where each piece can have different access level to this volume.
With Shared Storage, you can work with files from different pieces as if they were all on the same file system,
even if they are running on different machines.

Currently, Domino support the following Shared Storage options:

Expand Down
Binary file modified static/img/advanced_workflows/shared_storage_piece.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/advanced_workflows/shared_storage_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 07984db

Please sign in to comment.