Skip to main content

AlbsStrategy Enum

The AlbsStrategy enum defines load balancing strategies for AI Assistant Load Balancers.

Definition

namespace App\Enums;

enum AlbsStrategy: string
{
case ROUND_ROBIN = 'round_robin';
case PRIORITY = 'priority';
case WEIGHTED = 'weighted';
case LEAST_CONNECTIONS = 'least_connections';
}

Values

ValueLabelDescription
round_robinRound RobinDistribute calls evenly in sequence
priorityPriorityRoute by priority order (lowest number first)
weightedWeightedRoute by percentage weights
least_connectionsLeast ConnectionsRoute to least busy assistant

Used By