Serving Substrate

Systems Runtime Interview Practice

Make lifetime, overload behavior, communication layers, and evidence explicit.

#
Q&A

Q&A Cards

01Why is RAII relevant to an accelerator-serving runtime?

Short Answer

Asynchronous request paths own sockets, buffers, stream events, and communicator state. RAII makes cleanup deterministic when success, cancellation, timeout, or exceptions take different control paths.

Source: C++ Core Guidelines: Resource Management

02Why should a serving queue be bounded?

Short Answer

A bounded queue turns overload into an explicit admission policy before in-flight buffers exhaust memory and tail latency grows without limit. Rejecting work can be the reliability-preserving answer.

04How would you diagnose a distributed-serving timeout?

Short Answer

Correlate request deadlines, queue waits, cancellation logs, kernel timelines, collective duration and asynchronous communicator errors. Decide whether the root cause is admission overload, compute delay, transfer delay, collective failure, or cleanup failure.