ThrottleDMLPerformance
Use this component to control the speed the pipeline processes direct mail messages. This controls the load on the Simple Mail Transfer Protocol (SMTP) server.
Intended use: Direct Mailer pipeline, Throttle stage.
Configuration Values
None.
Values Read
The ThrottleDMLPerformance component reads the following values from the indicated dictionaries.
Key | Dictionary | Description |
delay_msec |
Context | The delay between messages in milliseconds. |
Values Written
None.
Remarks
An SMTP server can be overwhelmed by receiving too many messages at a time. For this reason, a direct mail pipeline may need to slow down delivery of messages to the server.
The ThrottleDMLPerformance component simply waits the number of milliseconds specified by the delay
_msec
key. The Direct Mailer service calculates the delay needed to maintain an appropriate delivery rate. It then sets the delay_msec
value in the Context dictionary, which is read by the ThrottleDMLPerformance component.