Skip to content

Capacity

Johannes Heucher edited this page Oct 12, 2022 · 3 revisions

Capacities are part of the concurrency control functions of Xyna Factory used by the Scheduler. They are resources used by running Xyna Orders. Each Order can request to allocate a number of Capacities. Each Capacity has a global cardinality that restricts the number of concurrent Orders that use it. Capacities are planned in the Planning phase, allocated in the Scheduling phase and freed in the Cleanup phase of the Master Workflow.

Table of Contents

Example

A Capacity DHCP was created with cardinality 10. The Workflow xact.DHCPRenew should reserve 2 Capacities of DHCP during a single run. Therefor the Order Type xact.DHCPRenew is configured to use 2 Capacities of DHCP. As a result of this configuration a maximum of 5 concurrent Orders of Order Type xact.DHCPRenew may run concurrently.

Management

Capacities can be managed via CLI or in the Xyna Factory Manager. Besides creation and deletion of a Capacity, one can specify its cardinality and monitor its usage in the ''Capacities'' section of the Xyna Factory Manager. The mappings of Capacities to Order Types can be configured in the ''Order Types'' section.

Monitoring

The degree of utilization of Capacities and Vetoes can be monitored in the Capacity Monitor section of the Xyna Process Monitor.

Modeling

The Service Operator Free Capacities can be attached to a Wait or Await Process Step to free occupied Capacities while the Workflow is paused during runtime.

See Also

Clone this wiki locally