AI Engineering · Engineering area
Distributed Reliability
Keep work safe and useful through delay, overload, retries, and partial failure.
45 questions · Staff + Principal
Browse questions
45 questions in 4 subtopics
Admission, fairness and overload
8 questions- How would you manage provider rate-limit failures when the fallback model fails a critical quality slice?
- How would you allocate shared inference capacity fairly across tenants with very different token workloads?
- How would you drain an inference backlog while protecting deadlines and new admission promises?
- How would you bound an agent’s parallel tool calls without losing useful concurrency?
- How can regional rate limiters enforce a global tenant budget during a network partition?
- How should a model gateway distinguish tenant quota failures from a shared provider outage?
- How should GPU capacity cover a zone failure during a model rollout?
- How would you prove a regional inference failover has independent dependencies and enough end-to-end capacity?
Latency and load evidence
9 questions- How would you diagnose a RAG tail-latency regression concentrated on one search shard?
- When is a delayed duplicate model request worth its extra latency, capacity and quality costs?
- How can a closed-loop load test hide production overload, and how would you measure the missing demand?
- How should a gateway recover a failed model stream after partial output or a pending tool call?
- When can hedged model requests improve p99 response time, and when do they worsen overload?
- How should streamed inference handle slow clients without unbounded buffering or stranded GPU state?
- Why can separate agent queues still fail to isolate a slow shared tool?
- How would you locate proxy buffering that delays browser-visible tokens after model generation starts?
- Why can short gRPC tool calls queue behind long model streams on a healthy channel?
Queue recovery and health restoration
11 questions- How should circuit-breaker recovery coordinate probes across instances and regions?
- How should an agent system quarantine and recover a malformed job without losing its business outcome?
- How do you restore a search index without reviving deleted content or revoked access?
- How should a release preserve safe rollback after new data formats and external effects have been written?
- How should a partially failed model batch publish one reproducible dataset edition?
- How do you recover agent effects when workflow and application stores have different restore points?
- How should an inference system stop abandoned interactive generation across every serving hop?
- How should an agent propagate one end-to-end deadline through retrieval, model calls, retries and tools?
- How should regional agent failover preserve approval revocation guarantees under replication lag?
- How should dead-letter redrive revalidate authority and reconcile an earlier unknown payment?
- How can policy reads guarantee read-your-writes across asynchronous replicas and transaction snapshots?
Retry, idempotency and ownership
17 questions- How do retries at multiple service layers amplify an outage, and how would you bound them?
- How can regional failover avoid duplicate external writes when a stale worker is still running?
- How should an agent progress stream reconnect without restarting an external action?
- What can fencing tokens protect when a queue lease expires during an external credit call?
- How should a voice agent handle an interruption racing with an authorized refund submission?
- Why can jittered agent retries still overload a recovering provider, and how should dispatch be bounded?
- How should an ingestion service publish index events only for committed document revisions?
- Why can reusing a FIFO queue deduplication ID still create duplicate jobs after a delayed retry?
- What does zero Kafka consumer lag prove about an asynchronously updated search index?
- Why can a live Kafka consumer lose its partitions while processing slow indexing jobs?
- Why do Kafka transactions not guarantee exactly-once updates to an external search index?
- When can a Kafka event acknowledged with acks=1 be lost during leader failover?
- How should an outbox relay recover the gap between local send acceptance and broker acknowledgment?
- How can an aborted Kafka transaction still trigger an external agent action?
- Why can a sloppy quorum miss a completed write even when R plus W exceeds N?
- What does a PostgreSQL remote_write acknowledgment guarantee during standby failover?
- How should two-phase commit recover prepared transactions after the coordinator crashes?
Learn the systems behind these decisions in Topics.