I want to build several segmentation services and I have some questions about processing duration and time point.
If the actual destination is required for discussion, we can talk based on google Ads.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Danny,
This approach, what you have specified will not work as, even though evaluation of Segment C is Streaming, just because the evaluation type for Segment B is Batch, the newly qualified audiences will be seen in Segment C once the evaluation of Segment B will complete.
This behavior is documented in the experienceleague as well. Below is the snippet of the document:
The URL is: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/streaming-segmentation....
At least, in the sandboxes I have access to, I could see it is behaving as documented - which means, new audiences are getting added in Segment C once the evaluation of Segment B is complete, even though Segment C is a streaming segment.
Thanks,
Bitun
@RexChen To accommodate a faster activation of Batch Segments, I recommend to our clients to try this:
This structure allows you to listen and react at Streaming speed to data streaming in as a faster speed, while reacting slower for data flowing in Batch speed. Try it out.
Hi Danny,
This approach, what you have specified will not work as, even though evaluation of Segment C is Streaming, just because the evaluation type for Segment B is Batch, the newly qualified audiences will be seen in Segment C once the evaluation of Segment B will complete.
This behavior is documented in the experienceleague as well. Below is the snippet of the document:
The URL is: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/streaming-segmentation....
At least, in the sandboxes I have access to, I could see it is behaving as documented - which means, new audiences are getting added in Segment C once the evaluation of Segment B is complete, even though Segment C is a streaming segment.
Thanks,
Bitun
You are right in that you cannot speed up Segment B (batch). However, you can decouple Segment S from it. This allows you to react as fast as possible to the incoming events.
This has a great benefit in that Segment C can update as Segment S is entered in a streaming fashion but it will use the most up to date information it has about Segment B at that point in time.
Think of it like a Segment of:
If both requirements are in one segment, this is a batch segment. If both are split, I can react to the purchase today as it streams in, but it will be based on the last batch job run for segment qualification on the 1st segment.
Segment can be evaluated on demand using segment job API . This way batch segment can be evaluated with in an hour.
Here you need to figure out a way to call the segment job API as per the frequency needed automatically (use Python scripts to trigger segment job API)
For this method, we may use a cron schedule to get rid of a local trigger.
Check thisSchedules API Endpoint | Adobe Experience Platform
Regards
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies