Architecture¶
-
Components
Crate structure and responsibilities.
-
Security
Security model and best practices.
Overview¶
graph TB
Client[Client] --> LB[Load Balancer]
LB --> H1[Hafiz Node 1]
LB --> H2[Hafiz Node 2]
LB --> H3[Hafiz Node 3]
H1 --> PG[(PostgreSQL)]
H2 --> PG
H3 --> PG
H1 --> D1[(Disk)]
H2 --> D2[(Disk)]
H3 --> D3[(Disk)]
Key Design Principles¶
- S3 Compatible - Works with existing tools
- Memory Safe - Written in Rust
- Scalable - Horizontal scaling
- Secure - Encryption at rest and in transit
- Observable - Prometheus metrics