Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7707

Create Manifold Pipe

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Pipes 2.0.2
    • Pipes 3.0.2
    • Extensions
    • None

    Description

      pipe that executes its subpipes in sequence or in parallel, with no relation ship between them, and returns the union of the outputs, like a or / + operator (as opposed to actual Container Pipe that chain them together and could be the x operator)

      Considering subpipe1, subpipe2, ...subpipeN, we could

      • execute them in sequence (easy case),
      • execute them in parallel (default configuration for performance first, with parallel=true & maxThreads=5 (on my laptop heavy thread consumes ~10% CPU except at commit time)

      one important thing to consider is the PipeBinding object should be duplicated and passed to the subpipe (it's ok to assume container pipe of the executor pipe should not have effects on its bindings). Use case for this is
      .echo("/content/mysite").children("some:Page").children("some:Page").name("locale").executor("ref1","ref2","ref3","ref4")
      should basically call, for each locale, in parallel, "ref1","ref2","ref3" and"ref4", that all have in their bindings path.locale to work with

      Attachments

        Activity

          People

            npeltier Nicolas Peltier
            npeltier Nicolas Peltier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h