Concurrency and Project Design
You can use multiple concurrently active inference agents to achieve load balancing, scaling, and performance.
You can also enable concurrent RTC cycles within one agent, known as the concurrent RTC feature.
The number of possible concurrent RTCs is determined by the number of available threads.
Both multi-agent and concurrent RTC features provide concurrent RTC functionality — across agents in the case of multiple agents, and within agents, in the case of concurrent RTC. As with any concurrent system, care must be taken to ensure that two agents or RTCs do not attempt to update the same instance at the same time, and to ensure that reads return a valid and up-to-date instance of an object.