Improve dashboard loading performance for dashboards with multiple objects

Modified on Wed, 3 Feb, 2021 at 3:26 PM

In order to achieve better processing time, the thread size should be managed. 

 

Threads are objects within a process that run instructions. Threads allow concurrent operations within a process so that a process can run different parts of the request simultaneously.

 

By specifying the number of objects to be processed simultaneously, this operation can be parallelized and can reduce the processing time of the dashboard.

The default number set in Smarten for loading simultaneous objects is 5. Which means, by default, 5 objects will be processed in 5 different threads. Based on the number specified by the user, the threads will be created.

For e.g. if my dashboard has 10 objects and the number of threads specified by the user is 4, then 4 threads will be created to load 4 objects in the dashboard at a time. Once the first 4 is completed, next 4 objects will be picked to the 4 threads and then the rest 2.This way, all the 10 objects will be loaded.

Another example, if number of threads parameter is set to 10, then this dashboard with 10 objects, will run all 10 threads in parallel and dashboard will load much faster. 

 

To specify the number of objects to be processed simultaneously in a dashboard, an option has been provided in the General Configuration at the administrator level.

Multi threading logic has been implemented here in such a way that the specified number of objects will be processed in parallel while loading the dashboard data.

 

Follow the below steps to set the number.

 

  1. In the Administrator section, go to General Configuration. 

          Specify the number of objects to be processed and click SAVE.

 

OPTION TO SPECIFY THE NUMBER OF OBJECTS TO BE PROCESSED

 

PS: Multithreading leads to higher utilization of the CPU as well as the target database. You need to select no. of threads to balance your CPU utilization and configuration of database server. 

 

 

Note: This article is based on Smarten Version 5.0. This may or may not be relevant to the Smarten version you may be using.

Dashboard multi threading performance Smarten SSDP threading Threads Dashboard performance

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article