Back to engineering at archive scale

How the workers share the load

While one lecture is being transcribed, a reviewer can flag a phrase in another. Both jobs need the same speech decoder. Theophonia keeps one copy loaded and reserves room for both kinds of work.

Two lectures, one local decoder
Batch coordinatorStarts the next transcription and hands a verified transcript revision to review.

Transcription worker

Decodes speech windows from the next recording.

4 reserved slots

Source repair worker

Replays the disputed window from a lecture under review.

4 reserved slots
Shared Whisper decoderUp to eight requests at once by default. Either worker can borrow idle slots.

Which decisions stay with the coordinator?

Transcription and narration can also run on a remote GPU. The coordinator sends a versioned task with references to the exact input files. The worker verifies those inputs and returns its result. The coordinator checks that the result belongs to the reviewed revision before anything advances. Moving the computation keeps editorial authority in one place.

What happens after an interruption?

Each worker receives a task tied to exact input artifacts. If it stops after decoding a passage, a retry can recover the saved result when the recording, window, model and decoder settings still match. The coordinator tracks who owns the task and checks the result before advancing. Independent repairs can overlap, while edits that depend on an earlier passage wait for that change.

Where did the time go?

Workers record start and finish events in SQLite. A call ID pairs the two timestamps. The scheduler records queue time where it can observe the wait. A repair can therefore show time spent waiting for the decoder, time spent running it and whether it reused a saved result.

When two calls overlap, both contribute worker time during the same minute on the clock. The report keeps call duration and observed overlap separate. Detailed timing expires independently of the permanent record of which audio and transcript were used.