Goop² Documentation

User guide & reference

Home

Executor Protocol

The executor protocol defines the contract between Goop2's cluster dispatcher and external executor binaries. A worker peer starts the binary as a child process and communicates over stdin/stdout using newline-delimited JSON.

Code examples

Example executor implementations are available in the source repository under docs/examples/:

  • Bash -- Daemon mode executor in a single shell script
  • Python -- Full-featured executor with job type routing
  • Go -- Idiomatic Go executor with JSON marshaling
  • C -- Minimal C executor using cJSON
  • C++ -- Modern C++ executor with nlohmann/json