Home / Companies / Gladia / Blog / Post Details
Content Deep Dive

Scaling real-time STT for high-concurrency voice agents

Blog post from Gladia

Post Details
Company
Date Published
Author
Ani Ghazaryan
Word Count
3,826
Company Posts That Month
20
Language
English
Hacker News Points
-
Post removed?
No
Summary

Scaling real-time speech-to-text for high-concurrency voice agents requires treating persistent WebSocket streams as stateful sessions rather than applying stateless REST-style autoscaling. Key practices include routing sessions with affinity, scaling workers based on active connection counts instead of CPU alone, using ping/pong heartbeats and TCP keep-alives to remove hanging sessions, enforcing gateway connection limits, and monitoring p95 and p99 latency, queue depth, frame delays, and termination reasons. The discussion recommends realistic load testing with bursty arrivals, varied call durations, and representative audio, while identifying file descriptors, GPU memory, network behavior, inference capacity, and downstream LLM/TTS demand as possible bottlenecks. It also outlines approaches for managing overload, including pre-warming or snapshot restoration, selective buffering and frame dropping, admission control, circuit breakers, exponential-backoff retries, and multi-region routing for large deployments. The source contrasts self-hosted infrastructure, which requires capacity planning and operational management, with its managed Solaria-1 service, which it claims can add capacity automatically and provide low-latency partial and final transcripts.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 21 5,068 1,020 229 -34%
Real-time 20 4,432 1,050 222 -31%
Voice AI 13 2,839 275 56 -36%
Observability 2 3,175 737 186 -24%
Kubernetes 1 3,490 385 112 +26%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.