[Feature] Prioritized Thumbnail Generation for New Uploads #15776
Replies: 3 comments 7 replies
-
Another idea is to handle "ALL" jobs as separate jobs from regular jobs. This could apply not just to thumbnail generation but to other tasks such as video transcoding. By isolating these large-scale "ALL" jobs, Immich could allow them to run independently with separate job limits, preventing an "outage" of services like thumbnail generation or transcoding for new uploads. This approach would enhance scalability and flexibility for large media collections. |
Beta Was this translation helpful? Give feedback.
-
That seems like a very long amount of time for that number of assets. Can you share more details about your hardware? How many of these are videos? Also, running 50 concurrent tasks is only going to hurt thumbnail generation speed. It should be much, much lower than that unless the server is a monster (and it isn't by the sound of it). |
Beta Was this translation helpful? Give feedback.
-
That is good to know. I don't have much to compare to. What are some estimates that you can share for different-sized libraries (and how many vids would those have)?
TrueNAS Mini X+ (Compact ZFS Storage Server)
16,150 Videos
That makes sense. Based on my hardware... What would be a reasonable concurrency? @mertalev, what are your thoughts on the broader issue–long-running Immich jobs can delay some types of processing for new uploads, causing users to encounter degraded functionality for possibly hours or days. |
Beta Was this translation helpful? Give feedback.
-
I have searched the existing feature requests to make sure this is not a duplicate request.
The feature
As a user with a large media library, I want new uploads to have their thumbnails generated promptly even when a full-library thumbnail generation job is running, so that new media does not show "Error Loading Image" placeholders.
Context
I occasionally need to run a full-library thumbnail generation job (if I've changed thumbnail settings, etc). With a library of approximately 5TB and 170,000 images/videos on TrueNAS hardware, this job takes 1-2 weeks, using around 50 concurrent tasks. During this time, new uploads have no thumbnails generated, leading to a poor user experience for me and my family. We actively use Immich, and this problem will become more significant as more family members join the platform and as my library grows.
The current lack of task prioritization for new uploads results in a temporary "outage" for thumbnail generation, causing inconvenience and confusion. Ensuring that new uploads can be processed first, or providing a way to prioritize jobs, would improve the user experience significantly.
Related GitHub issue #12578 – To gain traction, I started this feature request.
Platform
Beta Was this translation helpful? Give feedback.
All reactions