Architecture Diagrams
All diagrams are in Excalidraw format. Click any diagram to open the interactive viewer — view in-browser, download the .excalidraw file, or open directly in excalidraw.com to edit.
GC-Induced HPA Thrash Cycle
Why CPU-based HPA and JVM GC are a dangerous combination. The feedback loop that takes 3 pods to 20 with zero real load.
GC-Induced HPA Thrash Cycle
The GC pause → CPU spike → HPA false scale-out feedback loop.
JVM Memory Regions Breakdown
Six JVM memory regions — only the heap is controlled by MaxRAMPercentage.
AOT Cache Progression: CDS → AppCDS → Leyden
JDK 21 AppCDS → JDK 24 class linking → JDK 25 JIT profiles → JDK 26 ZGC support.
Container-Aware JVM Memory
Before: JVM reads host RAM, OOMKill. After: UseContainerSupport reads cgroup limits.
How Project Leyden Works
Three columns: Normal startup (all the work), training run (records it once), production (skips it).
JVM Anti-Patterns vs Fixes
16 anti-patterns with exact fixes — Memory, GC, AOT/Startup, and Observability.
REST vs gRPC Protocol Comparison
Wire format, HTTP/2 connection model, and streaming comparison.
RPC Architecture — REST at Boundary, gRPC Inside
When to use REST vs gRPC architecturally — public API boundary vs internal service mesh.
REST Request Sequence — Per-Request Overhead
Full lifecycle of a single REST request showing DNS, TCP, TLS, HTTP overhead vs gRPC streaming.
GraphQL Query / Response Shape
GraphQL query and response shape — reference diagram for audiences evaluating REST vs GraphQL vs gRPC.