-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
networkingFeatures, functionality involving networkingFeatures, functionality involving networking
Description
Summary
Currently, when a worker runs, we resolve promises linked to an instruction (which points to a receipt) by first looking in the local database and then, if that returns nothing, asking the "network"/DHT, i.e. libp2p, for the data within a deadline/timeout. If the receipt is not gathered, we then fully execute the task/wasm on the homestar
node.
Instead of waiting for the libp2p get/check, we should default to executing inlined instructions/tasks simultaneously while also trying to resolve those promises within an entire workflow for later executions. Again, this only works for inlined instructions/tasks, not those that point to another workflow running elsewhere.
ETA: 2023-11-10
Metadata
Metadata
Assignees
Labels
networkingFeatures, functionality involving networkingFeatures, functionality involving networking