You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/09/20 10:07:50 UTC

[GitHub] [incubator-superset] appleyuchi opened a new issue #10969: Is there any other way to accelerate dashboard?

appleyuchi opened a new issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969


   I deploy some charts about san_francisco in the following link
   http://49.235.108.13:5000/superset/dashboard/3/
   I have used redis in config.py
   but it takes about 17 seconds to show all contents.
   Is there any other way to accelerate it?
   Thanks
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] appleyuchi commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
appleyuchi commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-695769134


   my whole config file is :
   https://paste.ubuntu.com/p/wMCdHYxpJb/
   Thanks for your help


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] nytai edited a comment on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
nytai edited a comment on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-697069572


   @appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? How fast do your queries run on that db vs superset? Answering this should help narrow down whether the issue is with superset or with your underlying database. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] nytai commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-697069572


   @appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-695768946


   Issue-Label Bot is automatically applying the label `#question` to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] nytai commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-697069572


   @appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] appleyuchi closed issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
appleyuchi closed issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] nytai edited a comment on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
nytai edited a comment on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-697069572


   @appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? How fast do your queries run on that db vs superset? Answering this should help narrow down whether the issue is with superset or with your underlying database. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] appleyuchi commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
appleyuchi commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-699512141


   > @appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? How fast do your queries run on that db vs superset? Answering this should help narrow down whether the issue is with superset or with your underlying database.
   
   Thanks for your replies
   I use mysql now
   sorry for my late reply.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] zuzana-vej commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
zuzana-vej commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-700398686


   @appleyuchi the 3 major ways to optimize dashboard (excluding possibility with some issue with configurations which I wouldn't know about):
   1. Engine optimization - can you use faster engine (as @nytai  pointed out above)
   2. Query optimization
   -- how complex is the SQL of your queries for the dashboard charts? Are you doing multiple joins, calculations, etc. did you limit how much data you query, optimizing the SQL query should have impact on the load time of your dashboard.
   3. Dashboard complexity 
   -- how complex is your dashboard meaning how many total charts do you have on the dashboard? These an initial load time to process metadata of the charts. We have seen in some cases for dashboards with large number of charts, and large amount of metadata (filter scopes, color settings etc) that just this time can go up to 7 seconds. By large number of charts I mean scale of 200 charts on a dashboard. 
   
   There is `logs` table which you can go through to understand little more on where the time is coming from. It should have details on slice_id so you can see which charts are slowest, and the json column I believe should have lot more details. 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch commented on issue #10969: Is there any other way to accelerate dashboard?

Posted by GitBox <gi...@apache.org>.
mistercrunch commented on issue #10969:
URL: https://github.com/apache/incubator-superset/issues/10969#issuecomment-700414311


   Also:
   - summarize the data further - maybe you have a table with billions of rows, but you have an opportunity to create an aggregated table that can power many charts in your dashboard
   - hard to tell if that's part of the problem for you, but sometimes you're just returning too many rows and putting a burden and the network and user browser. Make sure you don't have lots of charts hitting the 10k row limits or populating millions of cells in in data tables for instance. The general solution there is to group or sort/limit. It's very rare that showing hundreds of thousands of datapoint is actually intelligible 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org