feat: jobs run one at a time, parallelism per photo and a priority queue

Owner review 1, phase 2 (docs/requests/2026-10-15-owner-review-1.md, R2).

Jobs now run one at a time on the desktop and on the server. Parallelism
(Settings > Rendering, TITANO_PARALLELISM) is how many photos the running
job processes at once: thumbnail and proxy passes draw that many photos
together and still write the pack and checkpoints in frame order, decode
tiers are probed that many at a time, the deep analysis measures that many
frames and a render decodes that many ahead. Wherever originals are
developed whole (TIFF, PNG, RAW without a usable preview), fewer run at
once within the memory budget, which the running job now has whole; the
server's frame window is sized to the host instead of 1 GiB.

A new job waits its turn and pausing the running job starts the next one.
An optional priority queue gives each job kind a level (renders, imports
and downloads high, verifies and proxies low by default): a queued job of
a higher level pauses the running one without asking, and that job goes
back to the queue with its checkpoint and resumes by itself afterwards.
Jobs of the same level, and a job's own follow-ups, never interrupt it.
The Jobs screen and the admin panel show the parallelism and the queue;
Settings > Rendering and the admin panel's Settings set them, at once.

TITANO_WORKERS and the Workers key of server.json still set the
parallelism (1 to 64, with a warning at start for the variable).
Titano.Tools gains i18n prune, which removed the renamed keys from the 36
machine-translated languages; the new strings are translated in all 38.

Found while testing: uploads and imports failed when a pass read the
sidecar while they wrote it (atomic writes now retry the rename while a
reader holds the file, and never for a read-only one), and taking a lease
just released while another process read it failed on Windows (the create
now waits for the reader). Five adversarial review rounds checked the
phase before this commit.

Also updates BRIEF (12.8, 14.6, 14.8, 14.9, 24), DECISIONS, CHANGELOG,
ARCHITECTURE, STATUS, the request file and the compose/Unraid templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-16 14:56:24 +02:00
1 parent 34d03051f5
commit 43b6871cdc
228 files changed
+3535 -793

No files matched your search

+12 -4
View File
@@ -92,8 +92,11 @@
<data name="Admin.Dashboard.Of" xml:space="preserve"><value>of {0}</value></data>
<data name="Admin.Dashboard.Online" xml:space="preserve"><value>online</value></data>
<data name="Admin.Dashboard.Originals" xml:space="preserve"><value>originals {0}</value></data>
<data name="Admin.Dashboard.Parallelism.one" xml:space="preserve"><value>{0} photo at once</value></data>
<data name="Admin.Dashboard.Parallelism.other" xml:space="preserve"><value>{0} photos at once</value></data>
<data name="Admin.Dashboard.PhotoCount.one" xml:space="preserve"><value>{0} photo</value></data>
<data name="Admin.Dashboard.PhotoCount.other" xml:space="preserve"><value>{0} photos</value></data>
<data name="Admin.Dashboard.PriorityQueue" xml:space="preserve"><value>Priority queue</value></data>
<data name="Admin.Dashboard.Queue" xml:space="preserve"><value>Queue and history</value></data>
<data name="Admin.Dashboard.Queue.Tip" xml:space="preserve"><value>Open the Jobs page</value></data>
<data name="Admin.Dashboard.QueuedCount.one" xml:space="preserve"><value>{0} queued</value></data>
@@ -107,8 +110,6 @@
<data name="Admin.Dashboard.Uploads" xml:space="preserve"><value>Uploads · last 30 days</value></data>
<data name="Admin.Dashboard.WithoutProxies.one" xml:space="preserve"><value>{0} sequence without proxies</value><comment>long</comment></data>
<data name="Admin.Dashboard.WithoutProxies.other" xml:space="preserve"><value>{0} sequences without proxies</value><comment>long</comment></data>
<data name="Admin.Dashboard.WorkerCount.one" xml:space="preserve"><value>{0} worker</value></data>
<data name="Admin.Dashboard.WorkerCount.other" xml:space="preserve"><value>{0} workers</value></data>
<data name="Admin.Error.Unreachable" xml:space="preserve"><value>The server did not answer; try again.</value><comment>long</comment></data>
<data name="Admin.Job.Kind.Adopt" xml:space="preserve"><value>Adopt</value></data>
<data name="Admin.Job.Kind.DeepAnalyse" xml:space="preserve"><value>Deep analysis</value></data>
@@ -279,6 +280,8 @@
<data name="Admin.Settings.HttpsPort.Tip" xml:space="preserve"><value>Port of the API over TLS for Titano clients</value></data>
<data name="Admin.Settings.JobHistoryDays" xml:space="preserve"><value>Job history (days)</value></data>
<data name="Admin.Settings.JobHistoryDays.Tip" xml:space="preserve"><value>Days finished jobs are kept</value></data>
<data name="Admin.Settings.JobPriority.Tip" xml:space="preserve"><value>Level of “{0}” in the priority queue: a higher level runs first and pauses lower ones</value></data>
<data name="Admin.Settings.Jobs" xml:space="preserve"><value>Jobs</value></data>
<data name="Admin.Settings.Language" xml:space="preserve"><value>Language</value></data>
<data name="Admin.Settings.Language.Tip" xml:space="preserve"><value>Language of server messages when a client asks for none</value></data>
<data name="Admin.Settings.Limits" xml:space="preserve"><value>Limits and retention</value></data>
@@ -286,8 +289,15 @@
<data name="Admin.Settings.MaxUploadMb" xml:space="preserve"><value>Max file (MB)</value></data>
<data name="Admin.Settings.MaxUploadMb.Tip" xml:space="preserve"><value>Largest single upload accepted</value></data>
<data name="Admin.Settings.Network" xml:space="preserve"><value>Network and TLS</value></data>
<data name="Admin.Settings.Parallelism" xml:space="preserve"><value>Parallelism</value></data>
<data name="Admin.Settings.Parallelism.Tip" xml:space="preserve"><value>Photos the running job processes at once; jobs run one at a time</value></data>
<data name="Admin.Settings.PemMissing" xml:space="preserve"><value>The PEM file was not found; enter its full path on the server.</value><comment>long</comment></data>
<data name="Admin.Settings.PemOnly.Tip" xml:space="preserve"><value>Used only in Own certificate mode</value></data>
<data name="Admin.Settings.Priority.High" xml:space="preserve"><value>High</value></data>
<data name="Admin.Settings.Priority.Low" xml:space="preserve"><value>Low</value></data>
<data name="Admin.Settings.Priority.Normal" xml:space="preserve"><value>Normal</value></data>
<data name="Admin.Settings.PriorityQueue" xml:space="preserve"><value>Priority queue</value></data>
<data name="Admin.Settings.PriorityQueue.Tip" xml:space="preserve"><value>On: a job of a higher level pauses the running one without asking, and that one resumes by itself afterwards. Off: jobs wait their turn</value></data>
<data name="Admin.Settings.ProxyBypassed" xml:space="preserve"><value>Not via proxy</value></data>
<data name="Admin.Settings.ProxyBypassed.Tip" xml:space="preserve"><value>TLS mode is Reverse proxy, but this page did not come through a trusted proxy over HTTPS. Open it through your proxy, or add the proxy's address to TITANO_TRUSTED_PROXIES.</value></data>
<data name="Admin.Settings.Restart" xml:space="preserve"><value>Restart required</value></data>
@@ -308,8 +318,6 @@
<data name="Admin.Settings.TokenLifetimeDays.Tip" xml:space="preserve"><value>Days a client stays signed in without being used</value></data>
<data name="Admin.Settings.UploadRetentionHours" xml:space="preserve"><value>Abandoned after (h)</value></data>
<data name="Admin.Settings.UploadRetentionHours.Tip" xml:space="preserve"><value>Hours after which unfinished uploads are discarded</value></data>
<data name="Admin.Settings.Workers" xml:space="preserve"><value>Workers</value></data>
<data name="Admin.Settings.Workers.Tip" xml:space="preserve"><value>Jobs this server runs at the same time</value></data>
<data name="Admin.SignOut" xml:space="preserve"><value>Sign out</value></data>
<data name="Admin.SignOut.Tip" xml:space="preserve"><value>Sign out of the admin panel</value></data>
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Switch between light and dark</value></data>
+4 -1
View File
@@ -50,10 +50,14 @@
<data name="Jobs.Kind.Verify" xml:space="preserve"><value>Verify</value></data>
<data name="Jobs.Left.After" xml:space="preserve"><value>after {0}</value></data>
<data name="Jobs.Left.Next" xml:space="preserve"><value>next</value></data>
<data name="Jobs.Line.Yielded" xml:space="preserve"><value>Paused for a higher-priority job ({0}); resumes by itself</value><comment>long: job log line</comment></data>
<data name="Jobs.Log.Empty" xml:space="preserve"><value>No log lines yet</value></data>
<data name="Jobs.Log.Hide" xml:space="preserve"><value>Hide log</value></data>
<data name="Jobs.Log.Show" xml:space="preserve"><value>Show log</value></data>
<data name="Jobs.Parallelism.one" xml:space="preserve"><value>{0} photo at once</value></data>
<data name="Jobs.Parallelism.other" xml:space="preserve"><value>{0} photos at once</value></data>
<data name="Jobs.PauseAll" xml:space="preserve"><value>Pause all</value></data>
<data name="Jobs.PriorityQueue" xml:space="preserve"><value>Priority queue</value></data>
<data name="Jobs.RenderingSettings" xml:space="preserve"><value>Rendering settings</value></data>
<data name="Jobs.Row.Name" xml:space="preserve"><value>{0} · {1}</value></data>
<data name="Jobs.Row.State" xml:space="preserve"><value>{0}: {1}</value><comment>invariant</comment></data>
@@ -71,5 +75,4 @@
<data name="Jobs.Target.Render" xml:space="preserve"><value>{0} → {1}</value><comment>invariant; {0} sequence title; {1} export preset</comment></data>
<data name="Jobs.Target.RenderRtl" xml:space="preserve"><value>{0} ← {1}</value><comment>invariant; right-to-left languages: the arrow points from the sequence to the preset</comment></data>
<data name="Jobs.Where.ThisPc" xml:space="preserve"><value>this PC</value></data>
<data name="Jobs.Workers" xml:space="preserve"><value>Workers {0} / {1}</value></data>
</root>
+5
View File
@@ -139,6 +139,11 @@
<data name="Settings.Rendering.Passed" xml:space="preserve"><value>{0} fps · ok</value></data>
<data name="Settings.Rendering.PreferHardware" xml:space="preserve"><value>Prefer hardware</value></data>
<data name="Settings.Rendering.PreviewsOnly" xml:space="preserve"><value>Hardware for previews</value></data>
<data name="Settings.Rendering.Priority.High" xml:space="preserve"><value>High</value></data>
<data name="Settings.Rendering.Priority.Low" xml:space="preserve"><value>Low</value></data>
<data name="Settings.Rendering.Priority.Normal" xml:space="preserve"><value>Normal</value></data>
<data name="Settings.Rendering.PriorityQueue" xml:space="preserve"><value>Priority queue</value></data>
<data name="Settings.Rendering.PriorityQueueOn" xml:space="preserve"><value>On</value></data>
<data name="Settings.Rendering.Quality" xml:space="preserve"><value>Quality profile</value></data>
<data name="Settings.Rendering.Quality.Balanced" xml:space="preserve"><value>Balanced</value></data>
<data name="Settings.Rendering.Quality.Best" xml:space="preserve"><value>Best</value></data>
+7 -4
View File
@@ -320,9 +320,11 @@
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Bring photos in from a card or a folder; imports, analyses and renders then show up here</value></data>
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Raise the priority: it runs before jobs of lower priority</value></data>
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Open what this job worked on</value></data>
<data name="Tooltips.Jobs.Parallelism" xml:space="preserve"><value>Jobs run one at a time; the running job processes this many photos at once (Settings › Rendering › Parallelism)</value></data>
<data name="Tooltips.Jobs.Pause" xml:space="preserve"><value>Pause at the next checkpoint; Resume continues from there</value></data>
<data name="Tooltips.Jobs.PauseAll" xml:space="preserve"><value>Pause every running job; the queue keeps its order</value></data>
<data name="Tooltips.Jobs.PauseQueued" xml:space="preserve"><value>Hold this job in the queue until you resume it</value></data>
<data name="Tooltips.Jobs.PriorityQueue" xml:space="preserve"><value>Priority queue on: a job of a higher level pauses the running one, which resumes by itself afterwards (Settings › Rendering)</value></data>
<data name="Tooltips.Jobs.Remove" xml:space="preserve"><value>Remove from the queue; the job is cancelled</value></data>
<data name="Tooltips.Jobs.RenderingSettings" xml:space="preserve"><value>Parallelism, hardware preference, memory budget</value></data>
<data name="Tooltips.Jobs.Resume" xml:space="preserve"><value>Put the job back in the queue; it continues from its checkpoint</value></data>
@@ -336,7 +338,6 @@
<data name="Tooltips.Jobs.State.Paused" xml:space="preserve"><value>Paused; Resume continues from the checkpoint</value></data>
<data name="Tooltips.Jobs.State.Queued" xml:space="preserve"><value>Waiting for a worker on this PC</value></data>
<data name="Tooltips.Jobs.State.Running" xml:space="preserve"><value>Working now</value></data>
<data name="Tooltips.Jobs.Workers" xml:space="preserve"><value>Jobs running on this PC out of the job engine's workers</value></data>
<data name="Tooltips.Library.Adopt" xml:space="preserve"><value>Index photos you already have, in place; choose their top folder</value></data>
<data name="Tooltips.Library.Analyse" xml:space="preserve"><value>Deep analysis of every frame · runs as a job in the background</value></data>
<data name="Tooltips.Library.AnalyseAll" xml:space="preserve"><value>Deep analysis of the selected sequences · runs as one job</value></data>
@@ -540,6 +541,7 @@
<data name="Tooltips.Settings.Import" xml:space="preserve"><value>Load settings from a JSON file; the session and the window layout stay as they are</value></data>
<data name="Tooltips.Settings.Install" xml:space="preserve"><value>Open the Microsoft Store page of this free or paid extension; Re-detect after installing it</value></data>
<data name="Tooltips.Settings.InterfacePriority" xml:space="preserve"><value>While Titano is in front, its interface runs ahead of the jobs so it stays fluid during renders and analyses</value></data>
<data name="Tooltips.Settings.JobPriority" xml:space="preserve"><value>Level of “{0}” in the priority queue: a higher level runs first and pauses lower ones; jobs of the same level never interrupt each other</value></data>
<data name="Tooltips.Settings.KeepArchiveSettings" xml:space="preserve"><value>Leave this archive's settings as they are</value></data>
<data name="Tooltips.Settings.KeepCache" xml:space="preserve"><value>Keep the cache as it is</value></data>
<data name="Tooltips.Settings.KeepIndex" xml:space="preserve"><value>Keep the index as it is</value></data>
@@ -563,11 +565,15 @@
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Default server, render node, trusted certificates</value></data>
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cache folder, thumbnails in memory, cache limit</value></data>
<data name="Tooltips.Settings.Page.Updates" xml:space="preserve"><value>Update check on start</value></data>
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Photos the running job processes at once; jobs run one at a time. Fewer leave more room to other programs · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: half the logical cores</value></data>
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Back to Auto: half the logical cores</value></data>
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>How often Titano rescans the archive for changes made elsewhere, such as by a server sharing it</value></data>
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>On when portable.txt sits next to Titano.exe: all data stays in its data folder</value></data>
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Use a hardware encoder when one supports the preset; software otherwise</value></data>
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>First three names of a sample import with these templates</value></data>
<data name="Tooltips.Settings.PreviewsOnly" xml:space="preserve"><value>Hardware for previews, software for archive presets</value></data>
<data name="Tooltips.Settings.PriorityQueue" xml:space="preserve"><value>On: a job of a higher level pauses the running one without asking, and that one resumes by itself afterwards. Off: jobs wait their turn; pause the running job to start the next</value></data>
<data name="Tooltips.Settings.ProxySize" xml:space="preserve"><value>Long edge of the JPEG proxies of this archive and of new ones; proxies built before keep their size until rebuilt</value></data>
<data name="Tooltips.Settings.QualityProfile" xml:space="preserve"><value>Balanced suits most work; Best measures at double resolution and reads further ahead; Fast measures at half resolution with draft motion</value></data>
<data name="Tooltips.Settings.Redetect" xml:space="preserve"><value>List the encoders again after a driver or codec install</value></data>
@@ -595,9 +601,6 @@
<data name="Tooltips.Settings.Tier.Native" xml:space="preserve"><value>Every pixel is decoded</value></data>
<data name="Tooltips.Settings.Tier.Unavailable" xml:space="preserve"><value>No decoder on this PC reads its pixels; such frames are left out of renders</value></data>
<data name="Tooltips.Settings.UsageCounts" xml:space="preserve"><value>Send a daily anonymous count of versions and languages in use; nothing else, off by default</value></data>
<data name="Tooltips.Settings.Workers" xml:space="preserve"><value>Jobs and frames processed at once; fewer leave more room to other programs · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.WorkersAuto" xml:space="preserve"><value>Auto: half the logical cores run jobs at once, each with its own number of threads</value></data>
<data name="Tooltips.Settings.WorkersReset" xml:space="preserve"><value>Back to Auto: half the logical cores</value></data>
<data name="Tooltips.Setup.AllUsers" xml:space="preserve"><value>Install in Program Files for every account · asks for administrator approval</value></data>
<data name="Tooltips.Setup.AllUsersOnly" xml:space="preserve"><value>{0} · it runs as a Windows service, so it installs for all users in Program Files</value></data>
<data name="Tooltips.Setup.Back" xml:space="preserve"><value>Return to the options without changing anything</value></data>