Data persistence and infrastructure Dify: During self-hosted deployment, you need to rely on multiple external data stores. Its docker-compose.yaml file and Alibaba Cloud's deployment documentation clearly indicate the following requirements: Relational database: PostgreSQL. Cache/message queue: Redis (corresponding to Tair on Alibaba Cloud). Vector Database: Supports a very wide range of options, including AnalyticDB, Milvus, Weaviate, Qdrant, PGVector, and more
- . This flexibility is a core strength of Dify. Coze: its open source The documentation for the version is vague about the external databases required. It provides a built-in "database" functionality that allows users to manage structured data through natural language (NL2SQL) or workflow nodes. This seems to be a high-level abstraction of the underlying database. Although it simplifies operations for end users, it may hide underlying infrastructure requirements for platform operators. Coze's documentation focuses more on describing the capabilities it provides rather than specific technical implementations.