DELAPARRA
Index
Color
NL
Category: Programming paradigms

Firing Rule

Explained by Updated

What is Firing Rule?

Firing Rule: The condition under which a node executes — typically "all required inputs have arrived". In dataflow programming, the firing rule decides when a node runs. The usual rule is that a node fires as soon as all the inputs it needs have arrived. This means the order of execution follows from data, not from the order code is written in. Nodes whose inputs are ready can run at the same time, which gives parallelism for free.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Firing Rule

What should you keep in mind with Firing Rule?

Some systems use other rules. A node might fire when any input arrives, or after a timer, or only once a batch has collected enough items. Build tools follow the same idea: a step runs once the files it depends on are ready. Understanding the firing rule of a tool explains why things run in the order they do, and why a missing input can make a whole pipeline wait.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with F

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.