nikhilkudavemnh opened a new issue, #31615:
URL: https://github.com/apache/superset/issues/31615

   ### Bug description
   
   this is the superset_config file I used caching on Redis and celery but it 
still wont work.
   
   http://domain.com/genreateguest 
token------------------------------------takes 2 sec
   
https://domain.com/embedded/3d0346ae-8dc0-4776-bf02-d87692a918f1uiConfig=10&show_filters=false&expand_filters=false----------this
 takes 3sec
   
https://domain.com/api/v1/dashboard/5/datasets---------------------------this 
takes 2 sec
   
   ROW_LIMIT = 10000
   SECRET_KEY = SUPERSET_SECRET_KEY
   
   FEATURE FlAGS
   FEATURE_FLAGS = {
   "EMBEDDED_SUPERSET": True,
   "TAGGING_SYSTEM": False,
   "ENABLE_TEMPLATE_PROCESSING": True,
   "HORIZONTAL_FILTER_BAR":True,
   "FAB_ADD_SECURITY_API": True,
   "DASHBOARD_RBAC":True,
   "ALLOW_FULL_CSV_EXPORT":True,
   "DRILL_TO_DETAIL":True,
   "DASHBOARD_VIRTUALIZATION":False,
   "SQL_VALIDATORS_BY_ENGINE": {
   'postgresql': 'PostgresSQLValidator'
   }
   }
   
   class CeleryConfig(object):
   broker_url = "redis://localhost:6379/0"
   imports = (
   "superset.sql_lab",
   "superset.tasks.scheduler",
   )
   result_backend = "redis://localhost:6379/0"
   worker_prefetch_multiplier = 10
   task_acks_late = True
   task_annotations = {
   "sql_lab.get_sql_results": {
   "rate_limit": "100/s",
   },
   }
   
   from flask_caching.backends.rediscache import RedisCache
   
   RESULTS_BACKEND = RedisCache(
   host='localhost', port=6379, key_prefix='superset_results')
   
   FILTER_STATE_CACHE_CONFIG = {
   'CACHE_TYPE': 'RedisCache',
   'CACHE_DEFAULT_TIMEOUT': 86400,
   'CACHE_KEY_PREFIX': 'superset_filter_cache',
   'CACHE_REDIS_URL': 'redis://localhost:6379/0'
   }
   
   DATA_CACHE_CONFIG = {
   "CACHE_TYPE": "SupersetMetastoreCache",
   "CACHE_KEY_PREFIX": "superset_results",
   "CACHE_DEFAULT_TIMEOUT": 86400,
   }
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to