Batched & Real-time Events

Batch Events

Batched events are sent using the Blueshift Bulk Event API along with other events. The events are added to a persistent queue which ensures that they are not lost if the user force quits the app. Batches of 100 events are created from the queue every 5 min (or the time interval configured during SDK set-up) and sent to Blueshift using the Bulk Events API called from non UI blocking background thread.

 

Real-time Events

Your application may prefer sending certain events (for eg. Purchase) real-time to Blueshift. The SDK may store these events in a queue if no network is available. In this situation, the events are sent as a part of the next batch of events, as soon as network is available.

Was this article helpful?
0 out of 0 found this helpful