We have a hosted feature service that is updated frequently through a ArcGIS Velocity feed. The hosted feature service is published as a public hosted view and consumed in a public instant web app.
The hosted view has editing disabled and CDN enabled.
Typically the hosted view will display between 10 and 100 polygons.
We wish to make the app as performant as possible as we are expecting large spikes in usage. We are trying to follow the Best practices to optimize scalability guidelines. Unfortunately, due to a limitation of ArcGIS Velocity analytics, we need to use a relative date filter in the hosted view definition. The filter we are using is update_date within the last 5 minutes. This is necessary to filter out features that are no longer in the Velocity feed. (We can't use Gap Analysis as it doesn't work on polygon features).
The best practices guide warns against using relative dates:
"When setting up view definitions and filters, do not use dynamic or relative date conditions, such as current time, in the last five minutes, today, yesterday, or tomorrow"
How much of an impact, or how do we measure the impact, of using a relative date filter?
Does it break the CDN?
Is it just the initial query before data is added to the cache that is slow?
Any insights or suggestions greatly appreciated.