How itssoap/reverse-proxy works
Main Components
a. Client Layer:
b. Reverse Proxy Layer (Core):
• FastAPI Application Server
• Multiple Uvicorn Workers (managed by Gunicorn)
• Load distribution across workers
c. Caching Layer:
• Redis Cache Server
• To the main proxy layer
d. Target Services:
• External services/websites being proxied
Component Relationships
• Client → Reverse Proxy (HTTP/HTTPS requests)
• Reverse Proxy ↔ Redis Cache (bi-directional for cache checks/updates)
• Reverse Proxy → Target Services (forwarded requests)
• Target Services → Reverse Proxy (responses)
• Reverse Proxy → Client (final response)
Architectural Details
Specific elements:
• FastAPI Router/Endpoints
• Redis Cache Manager (from utils/redis_cache.py)
• Logging System (from utils/info_logger.py)
• Static File Serving (show static directory)
Technical Specifications
Labels indicating:
• Python 3.10+
• FastAPI Framework
• Redis Cache
• Gunicorn/Uvicorn Workers
• Docker Container boundary (if deployed via Docker)
Additional Elements
Annotations for:
• Environment configurations
• Cache validation flows
• Static file serving paths
• Worker scaling capabilities