[Feature] auto-scaling tasks #18156
Closed
umrath
started this conversation in
Feature Request
Replies: 1 comment
-
Immich doesn't have all the information necessary to do this sort of thing; it depends on many factors like how powerful your system is, whether you use hardware acceleration, whether there's anything else running on the system, your personal preference, and so on. If you want autoscaling you should configure that outside of Immich using the orchestrator of your choice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
I can configure the amount of task that I want to run in parallel.
That's ok for the time being but not really useful in certain situation and in the long run.
To avoid overload situations (disk IO bottlenecks, CPU shortage, etc.) it would be best if Immich would scale the amount of parallel work jobs automatically, based on the load of the system.
It could be useful to be able to provide an upper limit for the maximum amount of workers Immich is allowed to start. But within this limit (0 to x) Immich should scale automatically.
Why is this necessary?
When I return from vacation, I might have a ton of pictures and video I want to upload.
If Immich would start to scan and catalogue the files immidiately, the way it usually does (and the way it usually works fine) I could end up in a situation where the server stalls because I exceed certain physical limits the underlying server has (and which I usually don't even reach).
On the other end of the spectrum I could of course limit the tasks manually (which is not comfortable) to 1 or even manually stop all tasks while importing files - but then I would waste time because eventually my import is done and the Immich idles until I restart the jobs or manually raise the limits again. Again: uncomfortable.
Platform
Beta Was this translation helpful? Give feedback.
All reactions