End-to-End Request Lifecycle
1. Client Layer (Browser / PWA)
Single-page React application delivering 60 FPS streaming, SWR zero-flicker state caching, and optimistic UI updates over HTTPS 443 & WSS.
2. Edge Security & Ingress (GKE L7 Gateway API)
Managed GKE Gateway API with Google Cloud Armor WAF, SSL certificate mapping, and region-targeted fast-path dispatching.
3. Orchestration Engine (FastAPI Thin Orchestrator)
Ultra-low latency asynchronous API gateway routing requests under 300ms across distributed multi-region backend services.
Core Distributed Infrastructure
Hybrid SSO & Zero-Trust Auth
Firebase Auth credential decoupling with cryptographically signed 7-role JWT token claims.
3-Tier Caching & VFS Hierarchy
L1 In-Memory LRU + L2 Redis cluster + L3 Cloud Storage with real-time SSE cache invalidation.
Multi-Region Data Sovereignty
Physical database isolation between Seoul (
accounts-kr) and Iowa (accounts-us) complying with PIPA/CCPA/GDPR.Semantic Kernel & AI Models
Agentic RCAG document retrieval, citation fidelity verification, and standalone MCP tool protocol execution.
Three Anti-Fraud Engineering Standards
1. Permanent Ban on Arbitrary sleep() Synchronization
1. Permanent Ban on Arbitrary sleep() Synchronization
Inserting
sleep()—even for 0.1s—to mask race conditions or async pipeline lag is categorized as engineering fraud. All temporal delays must be solved deterministically using protocols (events, locks, SWR caching, sync waves).2. Prohibition on Abandoning Critical State Mutations in Background Threads
2. Prohibition on Abandoning Critical State Mutations in Background Threads
State changes affecting downstream authentication (token issuance, custom claims, permissions) must never be neglected in detached threads; transactions must be explicitly awaited before progressing.
3. Empirical End-to-End Latency Verification
3. Empirical End-to-End Latency Verification
Passing unit tests alone is insufficient. Real runtime HTTP packet latencies to local ports (8080, 8081, 3081) must be directly benchmarked and proven with numerical telemetry.

