Techniques are disclosed for processing communications in a communication
system switch in which one or more processing scripts are selected for
application to one or more communications in accordance with weightings
assigned to at least a subset of the processing scripts. Measurements are
determined for one or more switch resources, such as central processing
unit (CPU) utilization, associated with processing of the communications
using the processing scripts, and the processing script weightings are
periodically adjusted in accordance with the determined measurements. The
system resource measurements may be generally characterized as comprising
resource limit measurements, business objective measurements, or other
types of measurements. The invention facilitates the processing of
communications in the system switch and provides improved efficiency and
reliability.