← Back to team overview

graphite-dev team mailing list archive

[Question #178175]: What determines the webapp graph caching?

 

New question #178175 on Graphite:
https://answers.launchpad.net/graphite/+question/178175

I'm trying to get as close to real-time as possible, and while I don't plan on refreshing the graphs every second, it would be nice to be able to do 5 or 10 second intervals between and see the graph change.

I've set my retention as follows:
1s:2h,10s:6h,60s:7d,10m:3y

I'm using StatsD, and have set my flush interval to 1000ms.

When I view a raw graph using the url api, the graph is static for about 30 seconds.

 Is there a setting I'm missing that lowers the update interval?

I also found this blog post: http://blog.stuartherbert.com/php/2011/09/21/real-time-graphing-with-graphite/, which talks about setting MEMCACHE_DURATION = 1 in local_settings.py, but memcache_duration is not there, so I can't tell if that would do nothing, or was used in a old version of the webapp. I am using memcache, but the only setting I see in the local_settings.py that is relevant is MEMCACHE_HOSTS.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.