[ https://issues.apache.org/jira/browse/SPARK-34123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohanad Elsafty updated SPARK-34123: ------------------------------------ Description: Since a long time ago my team/company suffered from history server being very slow to display/search entries specially when entries grow over 50k entry, regardless there is a pagination there in that page already but still very slow to display the entries. Current situation *Mustache Js* is used to render the entries and *datatables* is used to manipulate it (sort by column and search). By getting rid of *Mustache* (stop rendering the entries using *Mustache*) and using *datatables* to display it proved to be faster. Displaying > 100k entries (my case): Existing takes at least 30 to 40 seconds to display the entries, searching takes at least 20 seconds and the page stop responding until it finishes. Improved takes ~3 seconds to display the entries searching is very fast and the page stays responsive. *(These numbers will be different for others since JS is executed on your browser)* I am not sure why *Mustache* is used to display the data since data tables can do the job, [~ajbozarth] [~sowen] please elaborate more about this what is the reason to use *Mustache*? what are the drawbacks if it's not used anymore to display the entries (only this part)? was: Since a long time ago my team/company suffered from history server being very slow to display/search entries specially when entries grow over 50k entry, regardless there is a pagination there in that page already but still very slow to display the entries. !image-2021-01-15-13-53-16-446.png|width=844,height=151! Current situation *Mustache Js* is used to render the entries and *datatables* is used to manipulate it (sort by column and search). By getting rid of *Mustache* (stop rendering the entries using *Mustache*) and using *datatables* to display it proved to be faster. Displaying > 100k entries (my case): Existing takes at least 30 to 40 seconds to display the entries, searching takes at least 20 seconds and the page stop responding until it finishes. Improved takes ~3 seconds to display the entries searching is very fast and the page stays responsive. *(These numbers will be different for others since JS is executed on your browser)* I am not sure why *Mustache* is used to display the data since data tables can do the job, [~ajbozarth] [~sowen] please elaborate more about this what is the reason to use *Mustache*? what are the drawbacks if it's not used anymore to display the entries (only this part)? > Faster way to display/render entries in HistoryPage (Spark history server > summary page) > --------------------------------------------------------------------------------------- > > Key: SPARK-34123 > URL: https://issues.apache.org/jira/browse/SPARK-34123 > Project: Spark > Issue Type: Improvement > Components: Web UI > Affects Versions: 3.2.0 > Reporter: Mohanad Elsafty > Priority: Major > > Since a long time ago my team/company suffered from history server being very > slow to display/search entries specially when entries grow over 50k entry, > regardless there is a pagination there in that page already but still very > slow to display the entries. > > Current situation *Mustache Js* is used to render the entries and > *datatables* is used to manipulate it (sort by column and search). > > By getting rid of *Mustache* (stop rendering the entries using *Mustache*) > and using *datatables* to display it proved to be faster. > > Displaying > 100k entries (my case): > Existing takes at least 30 to 40 seconds to display the entries, searching > takes at least 20 seconds and the page stop responding until it finishes. > Improved takes ~3 seconds to display the entries searching is very fast and > the page stays responsive. > *(These numbers will be different for others since JS is executed on your > browser)* > > I am not sure why *Mustache* is used to display the data since data tables > can do the job, > [~ajbozarth] [~sowen] please elaborate more about this what is the reason to > use *Mustache*? what are the drawbacks if it's not used anymore to display > the entries (only this part)? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org