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 2022/02/05 03:34:06 UTC

[GitHub] [superset] kevinwen2k opened a new issue #18586: Page Load Performance on Specific Dashboard Is Low When Number Of Charts Increases

kevinwen2k opened a new issue #18586:
URL: https://github.com/apache/superset/issues/18586


   I put 45 charts in a dashboard, and enabled caching with Redis cache on server side. When viewing the timing in developer tool in Chrome, I found something interesting like the attached screenshot.
   
   1. No form_data Ajax request started to send before the 15th second.
   2. All of the form_data Ajax requests simultaneously send to the server.
   
   If I reduced number of charts to 15, the "Finished" time went down to 12 seconds and all of the form_data Ajax requests simultaneously sent to server at the 6th seconds.
   
   This explains part of the reasons why User observed that the page loading is very slow. Another reason, of course, is the rendering takes time.
   
   We're using another dashboard that take the different approaches. The page fire the Ajax requests for form data in order, meaning that the first Ajax request is sent at the 4th second and the second Ajax request is sent at the 4.5th second and the 3rd Ajax request is sent at the 5th seconds, and so on so forth. Sending the 60 charts to server via Ajax requests in that dashboard (not superset dashboard) gets the "Finished" time within 22 seconds, while the Superset dashboard took about 40 seconds as shown in screenshot.
   
   Would it be possible to make the other approach to speed up the whole rendering process? Thanks
   ![superset_dashboar_request_wait_time](https://user-images.githubusercontent.com/4207782/152627273-fa9b3aa7-4b7b-4427-bdde-6ed27fdd7107.png)
   .


-- 
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: notifications-unsubscribe@superset.apache.org

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