Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve caching by normalizing date ranges #693

Closed
runningman84 opened this issue Nov 13, 2013 · 2 comments · May be fixed by larrycameron80/kibana#53 or larrycameron80/kibana#115
Closed

Improve caching by normalizing date ranges #693

runningman84 opened this issue Nov 13, 2013 · 2 comments · May be fixed by larrycameron80/kibana#53 or larrycameron80/kibana#115

Comments

@runningman84
Copy link

At present the date filter is very exact, this prevents effective caching of requests.

My timefilter is "a month ago" to now. The request to ES is different every new second. In order to cache these requests in nginx for 10 minutes the from date should not change until another 10 minutes passed by. Especially for time ranges greater than a few hours this would not change the output dramatically but would greatly help us... Maybe this setting could be configurable.

                      "range": {
                        "histogram_time": {
                          "from": 1381744215109,
                          "to": "now"
                        }
@bobrik
Copy link

bobrik commented Nov 13, 2013

See #625. If you create indices daily you don't need range filter in most days.

@rashidkpc
Copy link
Contributor

This wouldn't really work as some systems have things indexed into the future. #625 is probably where the improvements will happen. As well as elasticsearch's new query cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
@bobrik @rashidkpc @runningman84 and others