I have a system in which I deal with stream of data. These stream can be split in…
- User
I have a system in which I deal with stream of data. These stream can be split in sub-stream. Consider that stream are on a meso-scale time, like seconds, while sub-streams range from milli to centiseconds, relying on a micro time scale. My concern is about representation of this data. Indeed, to represent the micro time can be a pain because it is a level too fine grained, such that the Gestalt of the stream is lost. On the contrary, to represent stream is useful, however every internal relationship between sub-streams can not be tracked properly. Here the query: please advice if you know some scenario like the one I am mentioning. Additionally in case, please provide any feedback about how to deal with such situation.
- Assistant
- User
Thank you for your feedback. I am interested in your Temporal Markers approach. Indeed, in my scenario I write streams as time functions but I am considering to introduce a mechanism like Temporal Markers to verify when possible my expectations on a micro time scale, like if I know that in a given moment two sub-streams must be synchronized or one must wait for an another one. Please provide any feedback on this proposal.
- Assistant
- User
I am finding some analogy with the shared memory model like the multi threading world in C++. Indeed, I am wondering if I can inherite some mechanisms, concept or primitives from there, like the synchronization (to define a rule such that one stream must synchronize to another one looking to a sub-stream), a wait mechanism, or even some kind of atomic counter, to keep track of some overall accumulator. Please provide any feedback about this suggestion.
- Assistant
- User
One question more theoretical: in Computer Science, this topic refers as shared memory model. Indeed, what you are sharing is the access to resources like Memory and you must handle it carefully to avoid any data race or deadlock. In a scenario, like the mentioned One, how would you define such a model? Indeed, what are you sharing ? Is there any analogy even in this terminology? Please provide a feedback.
- Assistant
- User
Do you know existing projects or proposal that deal within this concept of Temporal Shared Events Model?
- Assistant
- User
Last question: apart the four primitives we discussed, do you see the need to implement any other primitives? Moreover, there is any theory to understand if the primitives I am providing offer a complete mechanisms? I am trying to understand if there is any completeness theorem I can look to understand if I need to introduce any other primitives.
- Assistant
- User
From the reference you mention, the more relevant seems to be a workflow orchestration. Any hint about this system? The four primitives are fine to start to mock up a code for it?
- Assistant
- User
Please provide the same code in modern C++, like C++17.
- Assistant