Producer–Consumer Data Transfer — Execution Profiles
This is one producer–consumer workflow. The two historical examples differ only in their fixture label and deployment references, not the computation or file-validation contract. The Hub preserves two independent local Docker measurements (2/2 activities each) under this one publication. Local/GCP and Kind/GCP are optional infrastructure profiles; neither cloud nor Kubernetes placement was executed in this validation.
These are infrastructure profiles of the same two-activity workflow. In these optional configurations, the producer writes handoff.txt either on the AkôFlow server host or in a Kind cluster. A cloud activity on an on-demand GCP worker checks the file's exact content and writes receipt.txt. These configurations exercise a data dependency across runtimes when executed with the required infrastructure; the published measurements below used local Docker.
Running this example provisions a GCP VM and may incur charges. The checked-in plans contain IDs from a specific test instance and a manual predicted value; they are not portable plans or calibrated forecasts. Review the project, network access, capacity target, and VM cleanup before submitting.
Execution profiles
This is one producer–consumer workflow, with separate fixture and infrastructure profiles. Both measured captures execute the same two-activity contract on local Docker; the fixture label differs. Neither capture measures Kubernetes or GCP execution.
| Profile | Definition | What actually ran |
|---|---|---|
| Local-origin fixture | Workflow v2 | Local Docker, 2/2 activities completed, 1.382106 s |
| Cluster-origin fixture | Workflow v3 | Local Docker, 2/2 activities completed, 1.272317 s; not Kind/GCP |
| Local → GCP placement | Original reference | Configuration only; not executed in this validation |
| Kind → GCP placement | Original reference | Configuration only; not executed in this validation |
Cluster-origin fixture: measured local Docker run
Run hubv1-showcase-hybrid-kind-cloud-profile-local-f6b6e2337f-run-20261115t062828.129149837 completed 2/2 activities. The fixture is akoflow-kind-to-gcp; the inherited receipt text cloud consumed does not imply cloud execution.
Native experiment capture · Validated output files · Companion environment and source
Import this measured fixture into Desktop with akoflow://hub/publications/a057adf4-35da-4f7f-95c1-2a28651c66cd/versions/3. Use v2 for the local-origin fixture. The publication's Results section retains both independent runs and their original identifiers.
Portable local profiles
The following published versions run the original producer/consumer byte checks in two Docker activities on the homeserver. They provide a local executable profile for the logical handoff. GCP VM provisioning, Kind scheduling and cross-cloud networking are not measured by these local captures. The original provider-specific definitions remain in the source bundle and historical versions. The canonical publication contains the measured local-origin fixture as v2 and the measured cluster-origin fixture as v3.
Local producer profile
Explore this workflow and its measured results
The interactive DAG, version and execution summary below come directly from the public Hub publication.
Import this exact version and download the research data
In Desktop, choose Create workflow → Import from Hub and paste this immutable URI:
akoflow://hub/publications/a057adf4-35da-4f7f-95c1-2a28651c66cd/versions/2
Kind-origin fixture profile
The cluster-origin fixture belongs to the same data-transfer publication. Its separately recorded local Docker run and profile definition are documented there; it is not evidence of a Kind or GCP execution.
The fixture text retains its original local-to-gcp / kind-to-gcp labels; those labels alone are not proof of cloud execution. Configure the original provider prerequisites below to perform a cloud-specific validation.
Prerequisites
- Connect and test a GCP environment. Save it, then wait for asynchronous resource discovery to complete and confirm the cloud target is usable.
- For the Kind variant, prepare a Kind cluster and AkôFlow access. The local variant runs its producer on the AkôFlow server host.
- Register an execution scope, network topology, and resources that cover both the producer and GCP worker. In the checked-in plans these are
goal-hybrid-scope,goal-hybrid-network, andgoal-gcp-worker-e2-small. The instance's environment, resource, and runtime IDs must match the plans and submission script, or you must edit those files for your instance. - Install
curlandjqon the submission host, obtain API access, and allow the server's transfer path to reach the GCP worker. Use only the network access required by your deployment.
Download the inputs
The full bundle below includes the workflows, plans, runner, and an explicit description of the environment, scope, topology, runtime bindings, and cloud resource that must be registered in the target instance. Those cloud values deliberately remain instance-specific rather than shipping unusable credentials or project IDs.
Bundle README: environment, scope, topology, and cloud prerequisites ↓
Local → GCP workflow YAML ↓
Local → GCP plan YAML ↓
Kind → GCP workflow YAML ↓
Kind → GCP plan YAML ↓
Run submission script ↓
- AkôFlow Desktop
- API
Inspect the run in Desktop
Use Desktop connected to the same AkôFlow server as the API submission. First confirm that the saved environment and discovered cloud worker are healthy. After submission, open the workflow's run and check both activities, the data transfer, the output files, and the cloud instance lifecycle.
This bundle was submitted through the API. A Desktop-only setup and submission of the full hybrid configuration has not been verified.
Submit through the API
Complete API connection setup and use a checkout containing this example. Review and adapt the plan and script IDs before submitting them to another instance. Set the API URL to your own AkôFlow server; the loopback address below is only an example.
git clone https://github.com/UFFeScience/akoflow-examples.git
cd akoflow-examples
export AKOFLOW_API_URL=http://127.0.0.1:8080/akoflow-api
export AKOFLOW_API_TOKEN='replace-with-your-daemon-token'
curl --fail-with-body -H "Authorization: Bearer $AKOFLOW_API_TOKEN" \
-H 'Content-Type: application/yaml' \
--data-binary @real/hybrid-cloud-transfer/local-cloud-workflow.yaml \
"$AKOFLOW_API_URL/workflow-definitions/"
curl --fail-with-body -H "Authorization: Bearer $AKOFLOW_API_TOKEN" \
-H 'Content-Type: application/yaml' \
--data-binary @real/hybrid-cloud-transfer/local-cloud-plan.yaml \
"$AKOFLOW_API_URL/schedule-plans/import/"
sh real/hybrid-cloud-transfer/submit-run.sh local my-local-cloud-run
For Kind, submit kind-cloud-workflow.yaml and kind-cloud-plan.yaml, then call the script with kind my-kind-cloud-run. Run one variant at a time; wait for execution and cloud cleanup before starting the next.
Expected evidence
In the verified runs on 2026-09-13, each producer and consumer completed, the consumer read the transferred file, and the GCP VM was destroyed afterward:
| Source → destination | Run | Data transferred | Observed makespan |
|---|---|---|---|
| Local → GCP | goal-local-cloud-run-v6 | 21 B | 70.051 s |
| Kind → GCP | goal-kind-cloud-run-v1 | 20 B | 131.993 s |
Those are observations from one GCP project and an e2-small target, not guaranteed timings for another environment. The plans' predicted.makespanSeconds: 120 and cost are manual placeholder values; do not use them to assess scheduler accuracy. Check the run's activity and transfer records, then verify the VM is absent from both AkôFlow's cloud-instance list and GCP Compute Engine. If cleanup is delayed or a run fails, investigate the active transfer and VM lifecycle before retrying.