You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Redis Backend, and calling config.VARIABLE repeatedly for the many variables slows down the performance ((tested)).
I ask, from a theoretic standpoint:
Is there something to gain from wrapping the calls to constance values with an in-memory cache (e.g get_constance_value(value, cache_ttl)) that will get the value from Redis the first time, and keep it in-memory (e.g. for 60 seconds)?
The text was updated successfully, but these errors were encountered:
Describe the problem
Using the Redis Backend, and calling config.VARIABLE repeatedly for the many variables slows down the performance ((tested)).
I ask, from a theoretic standpoint:
Is there something to gain from wrapping the calls to constance values with an in-memory cache (e.g get_constance_value(value, cache_ttl)) that will get the value from Redis the first time, and keep it in-memory (e.g. for 60 seconds)?
The text was updated successfully, but these errors were encountered: