Skip to content
Philip (flip) Kromer edited this page May 9, 2012 · 1 revision

hanuman -- Elegantly assemble small graphs

Graph

A graph is also a stage.

Stage

Stack

Can be graphed as stages butted up end-to-end: [][][]

  • linear workflow (eg bash script)
  • middleware stack
  • before/after/around filters

  • Graph -- collections of stages and edges

  • Stage -- node (which might be a subgraph)

  • Edge -- connection

  • Chain -- linear subgraph

  • graph, can look up a stage by name:

    github_repo(handle, attributes={}, &block) 
    # find-or-create stage
    # update with attributes
    # instance exec block
    
    find_stage(:github_repo, handle)
    # look up in the registry, nil if missing.
    

Central store:

  • counters
  • timers
  • metrics
  • facts

Verbs

Data Flow

Lightweigh Control Messages