Project

General

Profile

Actions

Bug #4562

closed

[Documentation] Wiki page: explain appropriate use cases for arv-run vs. run-command vs. writing your own crunch script.

Added by Tom Clegg over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Documentation
Target version:
Story points:
1.0

Description

These general approaches need to be introduced and explained between http://doc.arvados.org/user/tutorials/intro-crunch.html and http://doc.arvados.org/user/tutorials/running-external-program.html.

Executive summary
  • arv-run makes sense for simple fan-out commands
  • run-command makes sense when you already have a command line tool installed in a docker image, and you just want to invoke it as part of a compute workflow/pipeline
  • writing your own crunch script makes sense if you want your code to be in revision control, you want more control of concurrency patterns, you need better performance, or you'd just rather write everything in python.
  • third option (use run-command to wrap something that lives in your own git tree) isn't very well supported but as a workaround you could copy the run-command stuff into your own git tree.

This page should clearly explain the limitations of arv-run and run-command so that users know when to switch between the approaches to run things.


Subtasks 1 (0 open1 closed)

Task #5015: Review branch 4562-crunch-tools-docs-wipResolvedBrett Smith01/16/2015Actions

Related issues

Related to Arvados - Feature #4561: [SDKs] Refactor run-command so it can be used as an SDK by scripts in a git treeClosedActions
Related to Arvados - Feature #4743: [Crunch] Upgrade run-command regex or basename for stricter file argument orderingClosed12/08/2014Actions
Actions

Also available in: Atom PDF