QuantumDuration Element for Distributor (ADF)
Defines the length of time for a distributor quantum, which determines how frequently Notification Services invokes the distributor.
Syntaxe
<Distributors>
<Distributor>
...
<QuantumDuration>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
duration. |
Default value |
60 seconds. |
Occurrence |
Optional once per Distributor element. |
Updateable |
Can be modified, but not added or deleted, when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
Notes
The distributor quantum duration controls how often Notification Services invokes the distributor to process available work items. Note than the distributor quantum has an effect only when the distributor is idle. When the distributor is processing work items, it waits until it is finished processing the current work item before it attempts to process additional work items.
Shorter quantum durations cause Notification Services to invoke the distributor more frequently, but require more resources. You need to balance the need for responsiveness during idle periods with the processing load placed on the Microsoft SQL Server database engine by running the distributor more frequently. For more information, see Définition de la durée de quantum du générateur.
The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.
Exemple
The following example shows how to define a distributor quantum duration of 1 minute and 30 seconds.
<QuantumDuration>P0DT00H01M30S</QuantumDuration>
Voir aussi
Référence
Application Definition File Reference
Autres ressources
Définition de la durée de quantum du générateur
Mise à jour des instances et des applications