Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Mar 15, 2022 4:37:17 AM
Jun 22, 2021 12:46:42 PM
This article explains how a backfill sync can be built with webhook blends that run in parallel.
More information about webhooks can be found in this article under "Automated Webhooks".
This backfill sync leverages the parallel execution capabilities of webhooks. To divide the total amount of records that need to be synced over multiple webhooks.
This sync will be built as a bundle with one main blend "the orchestrator" and X amount of webhook blends. The example in this article will use 2 webhook blends to process records.
In this article, the placeholder {bundleguid} is used. When a blend is executed, this will resolve to guide of that bundle's unique installation. More information on placeholders can be found here.
The main blend (orchestrator) will fetch records from a source and send them to the CDP. Each webhook blend is listening to new & updated records in the CDP and will process them one by one and send them to the destination system.
Orchestrator
Webhooks
General remarks
Results
Webhooks | Sleep time | Total process time | Total records | Time per record |
None, regular approach with 1 blend that does everything. | NA | 661 seconds | 1106 | 0,59765 seconds |
2 | 2 seconds | 132 seconds | 1106 | 0,12115 seconds |
3 | 2 seconds | 116 seconds | 1106 | 0,10488 seconds |
5 | 2 seconds | 86 seconds | 1106 | 0,07504 seconds |
* The above results vary depending on the webhook blends complexity and the actual data that makes up the records.
Attached to this article are the used orchestrator blend and an example of a webhook blend. More information on importing blends from a JSON file can be found here.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.