How finos/legend works
Integration Layer
Integration between components:
a. External Systems:
• GitLab (for model storage and version control)
• Authentication systems
• Data sources (Relational, MongoDB, Service APIs)
b. Connection Points:
• API interfaces between components
• Data flow paths
• Authentication flows
Functional Layers (use horizontal layers)
Top to Bottom:
Business Logic Layer
• Model Management
• Query Processing
• Data Transformation
• Code Generation
Execution Layer
• Pure Language Runtime
• Query Engine
• Service Execution
Storage Layer
• Model Repository
• Version Control
• Metadata Storage
Key Design Elements
• Blue: Core components
• Green: External integrations
• Orange: Data stores
• Gray: Infrastructure components
b. Connection Types:
Specific Features
Specialized subsystems:
• Data modeling capabilities
• Code generation (JSON Schema, Protobuf, AVRO)
• Data governance controls
• Self-service capabilities
• Validation mechanisms
Deployment View
A separate section showing:
• Docker container boundaries
• Service boundaries
• Network zones
• Load balancers
• API gateways