What's the difference between Instant and non-instant event sources?

This topic was automatically generated from Slack. You can find the original thread here.

Kenny MacDermid : What’s the difference between an ‘instant’ and non-instant source. For example when would I use the google_calendar new-or-updated-event-instant vs new-or-updated-event?

Dylan Sather (Pipedream) : instant sources emit the specified event immediately, as soon as it occurs in the source system (typically within a few seconds). These sources often setup webhooks in the source app that are configured to send these events to the Pipedream event source.

Sources that aren’t labeled with the “instant” qualifier typically run on a schedule, and poll the source system for new events.

We prefer instant sources when the API supports it (i.e. when the API supports webhooks). In this case you should use the instant trigger. We should also probably remove the corresponding non-instant source for Google Calendar - I believe in this case, we started with the non-instant source and developed the instant one later.

Let me know if that helps.

Dylan Sather (Pipedream) : I went ahead and removed the non-instant one to simplify this for future users

Kenny MacDermid : Awesome, that’s exactly what I wanted to know. Thanks!