System Architecture
An interactive representation of my full stack production setup. Select any node to explore technical justifications.
Edge Network
Cloudflare CDN & Security
How it works:
Global edge network caching static content, mitigating DDoS threats, managing SSL certificate configurations, and executing edge rules.
Why selection:
“Maximizes static export capabilities by serving pre-rendered portfolio pages directly from edge locations closest to recruiters, keeping TTFB under 30ms.”
Key Configurations:
- Web Application Firewall (WAF)
- Anycast Global Routing
- Brotli Compression Enabled
- Page Rules Optimization
Architectural Design
Interactive blueprints of production flows detailing logic execution, caching strategies, and load distribution nodes.
Cache-Aside Logic
How in-memory caching layers mitigate disk-bound database queries, ensuring sub-5ms latency for frequent requests.
Client Request
User triggers query for resource.
Cache Check
Express requests the Redis cache using key hashes.
Cache HIT
If record exists, Redis returns payload in <2ms, bypassing DB.
Cache MISS
If empty, Express queries MySQL database directly (~60ms).
Write-back Cache
Express writes database result to Redis with TTL set to 3600s, returning output to client.