Serverless and Full-Stack Architectures for AI-Native SaaS Applications: A Comprehensive Technical Survey and Analytical Taxonomy of Cold-Start Mitigation, Vector Retrieval, and Token-Streaming Pipelines
Software-as-a-service (SaaS) applications are beingrebuilt around large language models (LLMs). Instead of shortcreate-read-update-delete (CRUD) requests, an AI-native requestembeds a query, searches a vector index, assembles a prompt, callsa model, and streams tokens back to the user for seconds or minutes. This workload sits uneasily on serverless platforms designedfor short, stateless functions. Cold starts lengthen time to firsttoken, function and proxy timeouts cut off long streams, and perrequest billing charges for time spent waiting on a remote model.Vector indexes add memory-intensive state, and multi-tenancyturns token consumption into a fairness and cost-governanceproblem. This survey analyzes 53 works, comprising peerreviewed systems papers, vector-indexing algorithms, informationretrieval methods, Internet standards, and official platformdocumentation, organized into six thematic groups. We contributea four-branch taxonomy covering compute and streaming, vectorstorage and retrieval, caching and serving, and multi-tenantgovernance. We compare container, microVM, snapshot-restore,and isolate execution models, and derive analytical bounds oncold-start probability, stream duration under timeouts, and fanout tail latency. We analyze graph-based and quantization-basedapproximate-nearest-neighbor indexes, dedicated vector enginesversus relational extensions, hybrid sparse–dense retrieval, andsemantic caching, with memory, query-cost, and break-even hitrate models. We present an end-to-end request-lifecycle referencearchitecture and three comparative tables covering runtimes,retrieval engines, and multi-tenant caching, rate-limiting, andobservability patterns. We close with open challenges in tokenbased rate limiting, multi-tenant index memory, cache invalidation,and tracing of asynchronous LLM calls.
Authors
- Muhammad Usman Raza (ORCID: https://orcid.org/0009-0008-7166-1590)
Institutions
- Khwaja Fareed University of Engineering and Information Technology (PK)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24567276
- Primary Topic
- Cloud Computing and Resource Management
- Type
- preprint