An activity contains 6 events in total. The first 4 events streamed within 2 minutes and the activity was created after stitching of these 4 events.
The next 2 events occur after 23 hours. Will the first 4 events remain in memory, or just activity in cache to stitch with 2 remaining events?
The entire activity, including all its events, are kept in cache for the entire “active”, or “stitching” time, since new events being stitched into an activity could have an effect on the other events already in the activity (e.g. set membership). If also persisting, “kept in cache” does not necessarily mean “kept in memory”, but if a new event comes in that gets stitched to an existing activity, all events in that activity will be loaded info RAM, if not already there.