3.5 KiB · text History ce1976f

+++ title = “A Feat” description = “Project OPTHA: replacing a vendor’s e-ink rasterization pipeline” date = 2026-11-01 +++

A Feat

Project OPTHA

GMP-PS-2022-A

Note: Preliminary pass from ~/Downloads/optha.pdf (the 2022 two-page study). This looks like the Soofa image platform from the CV (50%+ per-device cost cut, vendor artifacting, FlexBox/Grid). Confirm before naming Soofa on a slide.


The Statement

A wholesale replacement of a 3rd-party vendor’s web-based e-ink rasterization pipeline

Visualized with Phoenix LiveView


The Motive

  • The vendor platform was effectively deprecated
  • Web support on par with 2012 Safari
  • Visual corruption in the renders
  • No history, only a “live” view
  • Per-device costs, for that level of support

The Requirements

  • Long-term platform support
  • Modern layout: Grid & Flexbox
  • Historical playback of rasters
  • Lower per-device cost
  • Less load on the vendor, to negotiate rates down

The Implementation

  • A containerized browser fleet, driven by RabbitMQ
  • Queued via API by the existing systems
  • Post-processing (8bGr) and quantization for storage
  • A GenServer per field device
  • LiveView for the fleet and each device’s history

–

The Result

50%

lower per-device cost


Architecture

OPTHA architecture

–

Render

  • The existing app asks for new imagery
  • Queue API & timers feed one render queue
  • Per-resolution renderers, one per device generation

–

Track

  • One GenServer per device
  • The source of truth for device status
  • Published over Phoenix PubSub

–

Keep

  • Rasters quantized for long-term storage
  • Image histograms along the way
  • ~96% smaller on average

Fleet Visualizer

Fleet visualizer

–

Fleet Visualizer

  • Real-time, every device at once
  • Sort by newest raster or name
  • Filter by label or region
  • Border colour shows raster age
  • Pause to stop the live updates

History Viewer

History viewer

–

History Viewer

  • Watch one device live, or pause
  • Page back in time, indefinitely
  • Keyboard shortcuts, deep links to a moment
  • The device’s sync state, for field issues
  • Fit-to-screen or 1:1

The Study

OPTHA page 1

OPTHA page 2


fin