Recommendations for local_settings.py

Asked by Tobias

I am planning to upgrade graphite-web from 0.9.15 to 1.0.1.

Do you have any guidelines or best practices for local_settings.py? I am running 1.0.1 in our test environment with the following settings for my frontend server:

SECRET_KEY = 'xxxxxxx'
TIME_ZONE = 'CET'
MEMCACHE_HOSTS = ['10.57.78.34:11211']
CLUSTER_SERVERS = ["10.57.78.32:80", "10.57.78.33:80"]
DEFAULT_CACHE_DURATION = 60
DEFAULT_CACHE_POLICY = [(0, 60), # default is 60 seconds
                        (7200, 120), # >= 2 hour queries are cached 2 minutes
                        (21600, 180), # >= 6 hour queries are cached 3 minutes
                        (43200, 360), # >= 12 hour queries are cached 6 minutes
                        (86400, 600)] # >= 24 hour queries are cached 10 minutes
REMOTE_PREFETCH_DATA = True
REMOTE_FIND_TIMEOUT = 6.0 # Timeout for metric find requests
REMOTE_FETCH_TIMEOUT = 6.0 # Timeout to fetch series data
REMOTE_RETRY_DELAY = 60.0 # Time before retrying a failed remote webapp
REMOTE_STORE_MERGE_RESULTS = True

Am I missing something crucial here you think? Everything seems to be running fine, I was just curious to know if you know of anything that I don't have that should definitely be in there.

Regards,

Tobias

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Denis Zhdanov (deniszhdanov) said :
#1

If it works for you - then it's good. :)
If you face any issues - try to disable REMOTE_PREFETCH_DATA.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.