guitarvydas
11/04/2024, 2:24 AMKartik Agaram
Routing must be performed in an atomic manner to avoid possible interleaving of messages from other places.
Containers must process each message to completion before inhaling another message.
I think this might answer my long-standing question about timing. So if a component has two input ports, there's no automatic way to consume from both in parallel?
guitarvydas
11/05/2024, 9:08 PMI think this might answer my long-standing question about timing. So if a component has two input ports, there's no automatic way to consume from both in parallel?Correct. I believe that this kind of thing is an Architectural decision and should not be built in under-the-hood into the tools. Components can have multiple input ports. The tool only guarantees that the inputs are queued up in order of arrival. The Architect decides what to do about the inputs. Further... multi-processing is essentially a fiction in FP. ... Further... there is exactly one "race condition" in reality. ... https://programmingsimplicity.substack.com/p/multiple-input-ports-only-one-input?r=1egdky