State, retrieval, caching, and queues

AI Data Infrastructure

An AI application needs durable product data, temporary coordination state, retrieval indexes, permissions, and evidence about model behavior. This guide separates those jobs so you can choose databases and services for their actual role rather than forcing every concern into a vector store.

Decisions this guide helps you make

01

Choose the system of record

Vectors are only one part of an AI product. Users, permissions, jobs, billing, conversations, evaluations, and audit events still need durable state.

02

Add fast, temporary state

Caches, queues, rate-limit counters, and agent checkpoints have different durability and latency needs.

03

Build retrieval as a system

Useful RAG requires ingestion, metadata, permissions, freshness, evaluation, and observabilityβ€”not only embeddings.