Overview
FlowX.AI uses multiple specialized data stores, each chosen for specific workload characteristics. They fall into two categories:- Embedded data components — shipped with the platform, managed by FlowX.AI
- Platform data services — third-party dependencies deployed by your team
Embedded data components
Embedded data components are delivered as part of the FlowX.AI platform (Docker images + Helm charts). They run on Kubernetes only, and their versioning is managed by FlowX.AI. These components are included in the standard deployment and cannot be replaced by alternative implementations.
Qdrant
Type: Vector databaseQdrant is used by the AI Platform RAG path (
knowledgebase-rag, embedder, knowledgebase-indexer-v2) and by AI agents for semantic retrieval. It stores vector embeddings and serves similarity search over indexed knowledge.It holds separate collections for runtime knowledge bases (queried by business agents at run time), design-time knowledge bases (used by the config-time agents in FlowX Designer), and the AI assistant corpus. Qdrant runs embedded as a single node by default; cluster mode is recommended for production.Platform data services
The following data services are required by the FlowX.AI platform but are third-party dependencies. You choose the deployment model — managed service or self-hosted, inside or outside the Kubernetes cluster — according to your enterprise standards. FlowX.AI connects to these services via configuration.For supported versions and compatibility details, see the Third-party components compatibility matrix.
Relational storage — PostgreSQL / Oracle
PostgreSQL is the primary relational database and system-of-record for most core services. Oracle Database is also supported as an alternative. They store:- Process definitions and metadata
- Runtime instance state
- Platform configuration
- Administrative data
Document storage — MongoDB
MongoDB provides document-oriented storage for unstructured and semi-structured content. It stores:- Runtime configuration
- Runtime workflow state
- Flexible data structures used by apps and integrations
Caching — Redis
Redis is an in-memory cache used for performance optimization across the platform. It stores:- Cached process definitions
- Compiled scripts
- Transient session data
- Distributed locks across microservices
Redis is used strictly for short-lived, performance-related data and is not a system-of-record. Long-term persistence is handled by PostgreSQL and MongoDB.
Message-start deduplication and pending external (received) messages are persisted in PostgreSQL, not Redis alone. Redis still backs the fast deduplication path, but the durable copy in PostgreSQL means in-flight message processing survives a Redis restart or data loss.
Event streaming — Kafka
Kafka is the event streaming backbone that enables asynchronous, event-driven communication between microservices. It handles:- Internal event propagation between platform services
- External integration messaging
- Decoupled processing workflows
Kafka is used for transient message propagation. Authoritative business data is persisted in PostgreSQL and MongoDB, not in Kafka.
Object storage — S3-compatible
S3-compatible object storage provides persistent file storage. It stores:- File attachments
- Document outputs (generated PDFs, converted files)
- Large binary assets
Search and indexing — Elasticsearch
Elasticsearch is used primarily for audit logging and full-text search across workflow and runtime data. It stores:- Searchable representations of audit events
- Platform activity logs
- Indexed workflow data for fast retrieval
AI Platform data stores
The AI Platform does not introduce a separate data stack. Its services reuse the same store families as the rest of the platform — PostgreSQL, MongoDB, Kafka, and object storage — and add Qdrant as the one AI-specific store for vector embeddings.All vector storage and similarity search across the AI Platform use Qdrant. PostgreSQL holds only service/job state for the AI components — not embeddings.
Quick reference
Service-level database mapping
The tables and diagrams below show which FlowX.AI services connect to which databases and what operations they perform. This is useful for infrastructure sizing, backup planning, and troubleshooting.PostgreSQL databases
Each core service owns its own PostgreSQL database and manages its schema through Liquibase migrations at startup.Task Management shares the
process_engine database with Process Engine. Data Sync acts as a centralized migration coordinator for app_manager, auth_system, and process_engine.MongoDB databases
Each service manages its own MongoDB database. Theapp-runtime database is a shared read-only dependency for multiple services.
Elasticsearch indexes
Redis
All core services use Redis for caching only via Spring Cache Manager. Events Gateway additionally uses Redis for pub/sub messaging. Services using Redis for caching: Admin, Application Manager, Authorization System, CMS Core, Document Plugin, Email Gateway, Integration Designer, License, Notification Plugin, Organization Manager, Process Engine, Task Management.S3-compatible object storage buckets
Bucket names shown are defaults from the configuration and are configurable via environment variables (e.g.,
MINIO_BUCKET_PREFIX). Your deployment may use different names. In some deployments, multiple services may share the same bucket. Ensure cross-bucket read access is configured where needed.Qdrant collections
The AI Platform stores vector embeddings in separate Qdrant collections. Theembedder service writes vectors; retrieval and design-time services read them.
Collection names are versioned and encode the embedding models in use, so exact names vary by deployment and release. Treat the collection roles above as the stable reference.
Related resources
Third-party components
Supported versions and compatibility matrix
FlowX Database
Cross-instance, long-term data storage using MongoDB
FlowX.AI architecture
Overall platform architecture and microservices overview
Redis configuration
Redis deployment modes and configuration
AI Platform setup
AI Platform data stores, environment variables, and Kafka topics

