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.

Presenting live? Keep excalidraw.com open in a browser tab. Click "Open in Excalidraw" on any diagram page to load it with one click. Use these as whiteboard moments to break up slide-deck monotony.
01

GC-Induced HPA Thrash Cycle

The GC pause → CPU spike → HPA false scale-out feedback loop.

01-gc-hpa-thrash-cycle.excalidraw Slide 8, 15
02

JVM Memory Regions in a Container

Six memory regions the JVM uses — MaxRAMPercentage only controls one of them.

02-jvm-memory-regions.excalidraw Slide 5
03

AOT Cache Progression: CDS → AppCDS → Leyden

How JVM class caching evolved from basic CDS to Project Leyden.

03-aot-cache-progression.excalidraw Slide 11, 23-25
04

Container-Aware JVM: Before & After

How UseContainerSupport fixes the /proc/meminfo vs cgroup mismatch.

04-container-aware-jvm.excalidraw Slide 4
05

Spring Boot + Project Leyden Flow

The 3-stage Containerfile workflow: compile → train (record + create) → runtime with AOT cache.

05-spring-boot-leyden-flow.excalidraw Slide 24-25
06

Anti-Patterns vs Fixes

Common JVM anti-patterns on Kubernetes and their drop-in fixes.

06-anti-patterns-vs-fixes.excalidraw Slide 40-41
07

gRPC vs REST Wire Format

Side-by-side comparison: JSON ~400 bytes vs Protobuf ~40 bytes, HTTP/1.1 vs HTTP/2.

07-grpc-vs-rest-wire.excalidraw Slide 26-28
08

Spring Boot Startup Breakdown

Waterfall showing where startup time is spent and where AppCDS helps most.

08-spring-boot-startup-breakdown.excalidraw Slide 11, 18-20
09

Spring Boot Observability Stack

Actuator + Micrometer → Prometheus → Grafana, with JFR/Cryostat side channel.

09-observability-stack.excalidraw Slide 13-14
10

Panama FFM Call Chain

Java → Arena → MemorySegment → MethodHandle → Native C++ — zero-leak by construction.

10-panama-ffm-call-chain.excalidraw Slide 34-36
11

G1GC vs ZGC Pause Behavior

Side-by-side comparison of G1GC scaling pauses (10ms–10s with heap) vs ZGC constant sub-1ms pauses.

11-g1gc-vs-zgc-pauses.excalidraw Slide 30-31
12

Cloud-Native Lifecycle

Pod termination timeline (preStop → SIGTERM → drain → SIGKILL) and health probe relationships.

12-cloud-native-lifecycle.excalidraw Slide 16