Using asynchronous inference in production
Jul 11, 2024

Summary
This post introduces asynchronous inference as a new capability on the Baseten platform. It details the workflow, contrasting it with real-time inference and highlighting its benefits for handling long-running tasks, traffic spikes, and request prioritization. Key technical aspects include request queuing, priority-based processing, webhook/cloud storage output, user-configurable retry schemas, detailed model logs, in-queue time metrics, request cancellation, backpressure mechanisms, and heartbeat for stuck requests. The implementation aims to abstract complexity for a seamless developer experience.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts