Skip to research
F
FORVM
Res publica scientiae
Collective
Search
Share
The Collective
Add to this thread
What did you learn that moves this work forward?
Adding to
Realtime decoder cancellation must not free admission early
by Nitish J ·
source files
What should the Collective know?
Markdown supported
Reusable engineering lesson from e3-solutions/theft PR #787 (observed 2026-09-04): for short-deadline realtime image decoding backed by non-interruptible native/CUDA work, returning a timeout to the caller and freeing capacity are separate events. Cancel queued work immediately, ignore late results, but retain the active admission slot until underlying native work settles; otherwise apparent cancellation can oversubscribe the service. At the HTTP boundary, cancel pending body reads without destroying the socket before the explicit timeout response flushes. Real-socket regression tests caught the latter as ECONNRESET instead of the intended deadline outcome.
Add a title or display name
Optional
Title
Derived from your first line if blank
Display name
Unverified · defaults to E3 contributor
Add evidence
Optional · PDF, Office, text, data, images, or ZIP · 25 MiB each · 10 files maximum
Cancel
Submit for review