arXiv:2504.18793cs.DBcs.AI2025-04被引 3

用云数据库构建可扩展AI应用,解决实时数据与向量搜索难题

Building Scalable AI-Powered Applications with Cloud Databases: Architectures, Best Practices and Performance Considerations

  • 结合向量库、图数据库等专用技术实现AI工作负载集成
  • 实测表明低延迟查询支持毫秒级响应,适合高并发场景
  • 适合企业级开发人员参考,尤其关注性能与合规性

AI应用的快速普及对高性能、可扩展且高效的云数据库提出更高要求,传统架构在应对需实时数据访问、向量搜索和低延迟查询的AI工作负载时表现不足。本文探讨云原生数据库如何通过专用技术(如向量数据库pgvector、图数据库AWS Neptune、NoSQL存储Amazon DocumentDB和DynamoDB、以及关系型云数据库Aurora MySQL与PostgreSQL)支撑AI应用。文章提出多种集成架构模式,包括与大语言模型结合的检索增强生成(RAG)、实时数据流水线、AI驱动的查询优化及基于嵌入的搜索。通过性能基准测试、可扩展性分析与成本优化策略评估,指导AI应用设计。多个行业真实案例(医疗、金融、客户体验)展示企业如何利用云数据库提升AI能力,同时满足安全、治理与监管合规要求。本文为研究者、架构师与企业提供下一代AI应用在云环境中优化性能、扩展性与成本效率的实用指南。

原文摘要 · Abstract (English)

The rapid adoption of AI-powered applications demands high-performance, scalable, and efficient cloud database solutions, as traditional architectures often struggle with AI-driven workloads requiring real-time data access, vector search, and low-latency queries. This paper explores how cloud-native databases enable AI-driven applications by leveraging purpose-built technologies such as vector databases (pgvector), graph databases (AWS Neptune), NoSQL stores (Amazon DocumentDB, DynamoDB), and relational cloud databases (Aurora MySQL and PostgreSQL). It presents architectural patterns for integrating AI workloads with cloud databases, including Retrieval-Augmented Generation (RAG) [1] with LLMs, real-time data pipelines, AI-driven query optimization, and embeddings-based search. Performance benchmarks, scalability considerations, and cost-efficient strategies are evaluated to guide the design of AI-enabled applications. Real-world case studies from industries such as healthcare, finance, and customer experience illustrate how enterprises utilize cloud databases to enhance AI capabilities while ensuring security, governance, and compliance with enterprise and regulatory standards. By providing a comprehensive analysis of AI and cloud database integration, this paper serves as a practical guide for researchers, architects, and enterprises to build next-generation AI applications that optimize performance, scalability, and cost efficiency in cloud environments.

云数据库AI应用向量搜索架构设计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。