Backend Proxy
Backend Proxy — Architecture & Security
The backend layer (django-lasuite-sources) acts as a secure, high-performance proxy gateway between client-side rich text editors and upstream sovereign APIs.
📊Architecture Diagram
Loading diagram...
🔒 Security & Resilience Features
shield-check
Anti-SSRF IP Filtering
Strict rejection of private IPv4/IPv6 ranges (10.x, 127.x, 172.16-31.x, 192.168.x, 169.254.x) using PublicResolver.
Découvrir→
database
Deterministic SHA-256 Cache
Normalized query parameters hashed with SHA-256 for optimal cache hits across instances.
Découvrir→
gauge
Distributed Quotas & Rate Limiting
Redis Lua atomic Token Bucket with 80% safety margin threshold, per-user burst limits, and graceful degradation.
Découvrir→
zap
Circuit Breaker (3.5s & 429)
Captures Retry-After on HTTP 429 and trips on repeated 5xx errors with non-blocking fallback.
Découvrir→
Last modified on