Scheduler performance issue when providing a lot of resources

1 Answer 95 Views
Scheduler
Svitlana
Top achievements
Rank 1
Svitlana asked on 26 Nov 2024, 12:30 PM

Hello.

We are using scheduler timeline view to show workers work schedule. We treat workers as resources. In some production environments we have more than 800 workers and in such cases application is very laggy or even not responding. In real life scenario we have custom styling for each slot depending on workers out of work days or configured work shift color. In provided stackblitz sample we limited ourselves to simple scheduler and still for hundreds of resources there are problems with performance.

Can you suggest solution for this issue or provide paging/virtualization for timeline view?

https://stackblitz.com/edit/angular-ebvckh?file=src%2Fapp%2Fapp.component.ts

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 29 Nov 2024, 08:26 AM

Hi Svitlana,

Firstly I would like to mention the following feature requests that cover both the styling and virtual scrolling/paging performance improvements for the Scheduler:

https://feedback.telerik.com/kendo-angular-ui/1459403-virtual-scrolling-and-paging-for-the-scheduler-resources

https://feedback.telerik.com/kendo-angular-ui/1668029-improve-performance-of-slotclass-callback

A vote will be added on both on your behalf. 

At this stage, our team suggests reducing the number of events provided to the Scheduler. This can be done by filtering events based on the current date range (the dateChange event can be useful), and then loading new events if the user selects a different range. The approach will depend on your specific use case.

In theory, you could also implement a UI that lets the user select a specific date range. However, you would need to limit the range to prevent loading too many events, which could negatively impact the application's performance.

I hope this helps.

Regards,
Yanmario
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Scheduler
Asked by
Svitlana
Top achievements
Rank 1
Answers by
Yanmario
Telerik team
Share this question
or