Concurrency and Project Design : Designing for Concurrency

Designing for Concurrency
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.
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.
The section Multi-Agent Features and Constraints explains more about concurrency and how it affects the way events and objects are processed in a multi-agent configuration, or with concurrent RTC.
The section Using Locks to Ensure Data Integrity Within and Across Agents explains how to manage access to objects in a concurrent configuration.