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.
- Multi-Agent Features and Constraints
Concurrency affects the way events and objects are processed in a multi-agent configuration, or with concurrent RTC. - Event Related Constraints
There are some concurrency constraints, which are related to particular events. - Multi-Agent Example Showing Event Handling
In a load balancing group shown in the example, concepts are shared and events are not shared . - Use of Locks to Ensure Data Integrity Within and Across Agents
Objects are managed in a concurrent configuration so that multiple agents can read from and write to the same cache cluster and at times operate on the same set of objects.
Copyright © TIBCO Software Inc. All rights reserved.