How can I speed up this MongoDB aggregate query?
There is an index on requestedAtTimestamp_-1 but the query regularly takes over 5s and Mongo Atlas is shouting at us saying The ratio of documents scanned to returned exceeded 1000.0. Are there additional indexes that could help to speed up…