-
Notifications
You must be signed in to change notification settings - Fork 6
QIP Architecture
namu0421 edited this page Jul 17, 2025
·
2 revisions
The QIP architecture is built on a microservices model, where each component operates independently but collaborates via APIs to ensure seamless integration. Below is a detailed breakdown of its key elements:

-
Engine
- Role: Executes predefined workflows ("chains") and manages their lifecycle.
-
Dependencies:
- Uses Postgres for scheduling tasks and storing checkpoints (state-saving markers);
- Communicates with the Run-Time Catalog to retrieve chain configurations.
- Integration: Sends logs and sessions to Elastic for monitoring and analytics.
-
Variables Management
- Role: Manages dynamic variables across workflows.
- Storage: Relies on Consul and Kubernetes (K8s) Secrets to store global variables.
-
Sessions Management
- Role: Works with sessions data.
- Integration: Uses Elastic to log session activities and troubleshoot issues.
-
Run-Time Catalog
- Role: Enables users to create, configure, and deploy chains and services, prepares chains for execution by compiling dependencies and validating configurations.
-
Features:
- Provides a UI for visual design of workflows;
- Stores metadata in Postgres (chain definitions, snapshots, service integrations).
- Process: Translates high-level designs into executable formats for the Engine.
-
Consul
- Data Storage: Maintains session details, logging levels, and shared variables critical for system operations.
-
Postgres
-
Use Cases:
- Stores chain configurations, runtime states, and historical snapshots in the Catalog;
- Manages scheduling logic and checkpoints for the Engine.
-
Use Cases:
-
Elastic
- Purpose: Centralized logging and monitoring tool for real-time insights into workflow performance and errors.
QIP’s modular design allows independent scaling of microservices based on demand (e.g., increasing Engine instances during peak loads). New functionalities, such as integrating monitoring systems, can be added without disrupting existing workflows.
- Decentralized Governance: Each microservice acts autonomously, aligning technical architecture with organizational needs.
- Fault Isolation: Issues in one service (e.g., Variables Management) do not affect others, ensuring system stability.
This architecture balances technical complexity with operational efficiency, making QIP adaptable for enterprise-scale integration tasks.