ExitOnline Inference: live request-path design1 / 9
Explanation

Design the waiting path, not just the model

How to design the application-to-model serving path so deployment and integration choices meet end-to-end latency and availability requirements. · advanced

A synchronous inference contract needs an end-to-end deadline, a target latency percentile, and an acceptable rate of failed or late responses. Network travel, admission, feature reads, transformations, queueing, inference, and response handling all consume that deadline. Measure complete requests: adding each stage's p99 does not calculate the request's p99.

This design uses a REST API with native request validation and usage-plan controls, an application adapter, keyed feature records, and a managed endpoint running an owned GPU inference container. API Gateway supplies the REST controls; AppSync supplies GraphQL APIs, and an Application Load Balancer does not supply API Gateway's native request-schema validation and usage plans. Usage-plan throttles are best-effort controls, not a hard capacity boundary.

SageMaker real-time hosting supports the owned serving container and GPU instance choice. Bedrock exposes managed model APIs rather than hosting an arbitrary customer inference container; AWS Batch schedules jobs rather than exposing a synchronous model-serving endpoint. The diagram shows outbound application calls only: responses return over those calls, and the adapter finishes the feature read before constructing model input.

HTTPS requestValidated requestFeature lookupModel input
UsersApplication caller
Amazon API GatewayREST API: validation and admission
AWS LambdaApplication inference adapter
Amazon DynamoDBOnline feature records
Amazon SageMakerGPU-backed real-time endpoint

1 / 6 The application caller starts a request with a response deadline. Success means receiving a usable answer before that deadline.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.