Skip to content
Portfolio

HighLoad · 2026

Constraint-Solver Platform for Media Scheduling

Three solvers, one contract — performance decisions backed by measurement, not intuition

  • OR-Tools
  • SharedArrayBuffer
  • SSE
Constraint-Solver Platform for Media Scheduling

Context

A media-planning platform had to allocate advertising spots across broadcast slots against rating targets — a hard combinatorial problem.

Task

Make solver strategies comparable and measurable instead of betting on a single heuristic.

Approach

Built three interchangeable engines (greedy, branch-and-bound, CP-SAT sidecar) behind one interface, with SoA data layout, SharedArrayBuffer worker pools, and SSE streaming.

Result

Honest benchmarking of exact vs. heuristic strategies on real workloads, with shared Zod/JSON-Schema contracts across Node and Python.