Skip to main content

Tune the performance of the pipeline batches

Abstract

How to optimize performance for Salesforce Marketing Cloud related pipeline batches by configuring thread count and batch size in Sitecore

You can optimize performance for your particular setup by configuring thread count and batch size for many of the pipelines that are used by the Push xConnect Contacts and Push Marketing Lists pipeline batches.

Parameter

Notes

Default setting

Thread count

The maximum number of push requests running at the same time.

8

Batch size

The number of contacts processed in each push request.

500

The optimal settings for these parameters depend on your particular setup.

The pipelines for the Push xConnect Contacts pipeline batch are located in your tenant, in Pipelines/Push xConnect Contacts.

The pipelines for the Push Marketing Lists pipeline batch are located in your tenant, in Pipelines/Push Marketing Lists, Pipelines/Email Studio, and Pipelines/Journey Builder.

You can configure the batch size for:

  • Any pipeline whose name starts with Add To Queue, such as Add To Queue - Audience Definitions For Creation.

  • The Pipelines/Push xConnect Contacts/Read xConnect Contacts/Read xConnect Contact pipeline.

  • The Pipelines/Push Marketing Lists/Read Single Marketing List Memberships/Read List Memberships pipeline.

For example, to configure the batch size for the pipeline that reads xConnect Contacts:

  1. In Sitecore, in the Content Editor, go to /sitecore/system/Data Exchange/<tenant name>/Pipelines/Push xConnect Contacts/Read xConnect Contacts/Read xConnect Contacts.

  2. In the Settings section, in the Contact Batch Size field, enter the number of contacts to process per batch. 

    Contact Batch Size in pipeline

You can configure the thread count for any pipeline whose name starts with Iterate, such as Iterate To Process xConnect Contact.

For example, to configure the thread count for the pipeline that processes xConnect contacts after they have been read:

  1. In Sitecore, in the Content Editor, go to /sitecore/system/Data Exchange/<tenant name>/Pipelines/Push xConnect Contacts/Read xConnect Contacts/Iterate To Process xConnect Contact.

  2. In the Contact Settings section, in the Max Thread Count field, enter the number of threads.

    Max Thread Count in pipeline