They are simply doing a query-level cache with some time alignments (https://github.com/Comcast/trickster/blob/master/handlers.go#L293). Ideally that'd be refactored out of main and we could leverage the same caching. If not we can make our own cache interface etc. and do the same thing.
The main difference being that we could apply the caching to all data queries:
- /query
- /query_range
- /labels
They are simply doing a query-level cache with some time alignments (https://github.com/Comcast/trickster/blob/master/handlers.go#L293). Ideally that'd be refactored out of
mainand we could leverage the same caching. If not we can make our own cache interface etc. and do the same thing.The main difference being that we could apply the caching to all data queries: