Hello everyone,   I have taken over a project on my new team and I am working on optimizing a system of ours. Currently I am using MxAssist performance Bot and https://docs.mendix.com/refguide9/performance-best-practices/ identify the potential cause of slowdown. As the system is very slow in loading the pages even in homepage. As I am new to Mendix I was hoping to get some technical advice /guidance on which particular part of system can cause a slow down based on your experience and if possible provide how it was resolved or provide a documentation / forum question I can refer to. Thank you very much.
1 answers

Hello Kyrie, 


Performance of a Mendix application involves analyzing different aspects : 


1.Database Queries and Indexing 

  • Optimize your database queries: Ensure you're fetching only the data you need, and avoid using complex or nested queries.
  • Use Mendix's query optimization features such as query optimization hints to fine-tune the performance of database queries.
  • Regularly analyze query performance using Mendix Profiler or database monitoring tools                                


Forum :  https://forum.mendix.com/link/space/app-development/questions/112926



2.Microflows and Business Logic 

  • Break down complex microflows into smaller, focused microflows to improve maintainability and performance.
  • Utilize batch processing for actions that involve bulk data operations.
  • Evaluate the necessity of each action in your microflows and eliminate any unnecessary steps.
  • Implement asynchronous processing for long-running tasks using background jobs to avoid blocking the UI.

FYI :- https://docs.mendix.com/howto/monitoring-troubleshooting/detect-and-resolve-performance-issues/ 


3.Widgets and UI Design

  • Limit the use of complex widgets that require extensive rendering, and prefer simpler widgets whenever possible.
  • Employ pagination for displaying large datasets to reduce initial load times.
  • Implement lazy loading for sections of the page that are not immediately visible.
  • Use virtual list views to efficiently display large lists without loading all the data upfront.

FYI : https://docs.mendix.com/howto/monitoring-troubleshooting/detect-and-resolve-performance-issues/


4.Mendix Version and Modules:

  • Stay up-to-date with the latest Mendix version, as newer versions often come with performance improvements.


Overall Documentation : https://docs.mendix.com/howto7/general/community-best-practices-for-app-performance/



Overall reference :-  This blogs will may be helpful


  1. https://www.linkedin.com/pulse/top-10-performance-improvement-tips-mendix-bart-tolen
  2. https://stephanbruijnis.dev/posts/the-developers-guide-to-performance/