Implement threading #46
Replies: 2 comments
-
Better: set up a worker per system and use the communication channel to sync the data set. Then execute the workers per execution group in the execution pipeline, so that everything inside a group is truely executed in parallel. Which still asks for a way to sync the components :/ I also wonder how efficient syncing would be, especially for worlds where the groups are small, but there is plenty of data to sync. |
Beta Was this translation helpful? Give feedback.
-
I think, since 2020Q2 a lo happened and with v0.5.0, a lot of things are in place to come up with a more concrete plan.
What's left is to create an API for scheduling and syncing multiple worlds easily and still have a certain degree of determinism and overview. Spawning of threads (service workers or process-clusters) should be under the hood, just for the extra comfort! |
Beta Was this translation helpful? Give feedback.
-
Browsers can use WebWorkers and NodJS can use a Cluster.
Ideas:
Beta Was this translation helpful? Give feedback.
All reactions