Skip to content

[RFC] Transformation Features

Romain Dorgueil edited this page Oct 12, 2017 · 6 revisions
Subject: Transformation features
Authors: Romain Dorgueil
Created: Oct 3, 2017
Modified: Oct 8, 2017
Target: 0.6? 0.7?
Status: DRAFT

This is a DRAFT

Behaviors

There are common behaviours that can be reused on any node. There should be an API for that.

Examples:

  • Retry (if failure, retry n times before giving up)
  • Timeout (if more than x milliseconds, give up)
  • Parallel (we don't care about FIFO, run n in parallel, FOFO)
  • Map (map an iterable to the same transfomration, for example Map(HttpRead(), urls), eventually parallel (we need to address how it combines with other features).
  • Validate{Input,Output} (firewall/safety)
  • Trace (inject debug/trace infos in output)

Special Bags

  • Loopback (inject this result into myself, recursion-like)