TASK: Add process pool for CPU-heavy transformation paths #23

Open
opened 2026-05-15 17:33:40 -04:00 by darkhelm · 0 comments
Owner

Parent

#4

What to build

Run expensive normalization/dedup transforms in process pool where needed, without blocking event loop.

Acceptance criteria

  • Blocking CPU paths are isolated from async loop
  • Process pool usage is bounded and observable
  • Fallback path exists for constrained environments

Blocked by

Notes

  • Python backend code must be fully typed and async-safe.
  • Any blocking work must be wrapped through thread/process execution paths as appropriate.
  • Must pass lint, format, typing, docstring, and test quality gates.
## Parent #4 ## What to build Run expensive normalization/dedup transforms in process pool where needed, without blocking event loop. ## Acceptance criteria - [ ] Blocking CPU paths are isolated from async loop - [ ] Process pool usage is bounded and observable - [ ] Fallback path exists for constrained environments ## Blocked by - #22 ## Notes - Python backend code must be fully typed and async-safe. - Any blocking work must be wrapped through thread/process execution paths as appropriate. - Must pass lint, format, typing, docstring, and test quality gates.
darkhelm added this to the v1 Dynamic Realtime Playlist milestone 2026-05-15 17:33:41 -04:00
darkhelm added the performanceafkbackendtask labels 2026-05-15 17:33:41 -04:00
darkhelm added this to the Main Project Board project 2026-05-15 17:50:53 -04:00
darkhelm removed this from the Main Project Board project 2026-05-15 17:53:08 -04:00
darkhelm modified the milestone from v1 Dynamic Realtime Playlist to E3 - Plex Ingestion and Sync Pipeline 2026-05-15 17:57:08 -04:00
Sign in to join this conversation.