trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

Dashboard Performance Issue – Extremely Slow Load Times for Runs

Open sheharyarIshfaq opened this issue 10 months ago • 2 comments

The Trigger.dev dashboard frequently experiences extremely slow load times, making it difficult to view and track runs efficiently. This issue persists even with a stable and high-speed internet connection, while other websites and applications load smoothly.

  • The slowness occurs consistently, making it frustrating to monitor job runs.
  • Sometimes, the dashboard takes an unusually long time to fetch and display runs, causing unnecessary delays in debugging and workflow monitoring.
  • Refreshing the page does not always help, and performance remains sluggish.

Given that Trigger.dev is meant for seamless job execution tracking, this performance issue significantly impacts usability. Please investigate and optimize the dashboard to ensure a smooth and responsive user experience.

sheharyarIshfaq avatar Feb 27 '25 14:02 sheharyarIshfaq

Hi @sheharyarIshfaq,

Could you be more specific about the pages that are slow to load? Is it every page? If it's every page where are you located in the world?

matt-aitken avatar Feb 27 '25 14:02 matt-aitken

Other page are fine, they take a bit time but it is fine, but the run page it is very slow sometimes it just gets stucked, else take couple of mins, maybe I have a lot of logs is that the reason? And this is not always the case, sometimes I experience this, it is not always like this, I checked my internet connection as well but it is fine

sheharyarIshfaq avatar Feb 27 '25 14:02 sheharyarIshfaq

@sheharyarIshfaq we're working on moving the data store for these dashboard pages to ClickHouse. We can't get more performance out of Postgres given the size of these tables. It will ship by the end of this month.

matt-aitken avatar May 13 '25 08:05 matt-aitken

@sheharyarIshfaq we moved to powering the Runs list using ClickHouse a month ago. It should be consistently fast for you now.

matt-aitken avatar Aug 08 '25 13:08 matt-aitken

Thanks, Matt! I’ve just tested it again and can confirm that the dashboard is now loading much faster, especially the Runs page. The switch to ClickHouse seems to have made a significant difference. Appreciate your team’s efforts on this!

sheharyarIshfaq avatar Aug 08 '25 13:08 sheharyarIshfaq