Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JST-924: Rearrange docs in the repo for improved maintenance #989

Merged
merged 11 commits into from
Jun 27, 2024

Conversation

grisha87
Copy link
Contributor

@grisha87 grisha87 commented Jun 20, 2024

No description provided.

@grisha87 grisha87 force-pushed the feature/JST-924/rental-and-exe-unit-docs branch from 27759f1 to 2821f67 Compare June 21, 2024 07:26
@grisha87 grisha87 changed the title Feature/jst 924/rental and exe unit docs JST-924: Rearrange docs in the repo for improved maintenance Jun 21, 2024
@grisha87 grisha87 marked this pull request as ready for review June 21, 2024 07:27
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@grisha87 grisha87 force-pushed the feature/JST-924/rental-and-exe-unit-docs branch from 4e712de to 1e00d54 Compare June 24, 2024 11:27
README.md Outdated Show resolved Hide resolved
docs/UPGRADING.md Outdated Show resolved Hide resolved
docs/UPGRADING.md Outdated Show resolved Hide resolved
docs/CONCEPTS.md Outdated Show resolved Hide resolved
Comment on lines 87 to 98
> **IMPORTANT DIFFERENCE**
>
> `TaskExecutor` by default assumed that users want to run these commands in parallel, so it
> was establishing up to 5 agreements with different providers and then sent out these
> commands to different providers to leverage parallelism.
>
> With `golem-js@3.0`, when you use `oneOf` to rent resources, you are establishing one agreement
> with a single provider and the commands which you issue with `Array.map` will be executed
> sequentially by that single provider.
>
> If you want to achieve _parallel command execution_ on different providers, refer to the [Engaging with many providers at the same time](#engaging-with-many-providers-at-the-same-time) example.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why even show this in the migration if it's fundamentally different behavior? TE users only care about parallelism. Either drop the entire Repeating commands with map of different parameter values section or use manyOf here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmmm. I guess you're right, this is more an example of the API usage than real migration. Thanks for that point of view :)

@grisha87 grisha87 merged commit aa69c63 into beta Jun 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants