Serial vs Parallel GC: Throughput-Focused Collectors
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
A practical guide to Serial and Parallel garbage collectors - how they work, when to use each, throughput trade-offs, and production tuning tips.
A guide to the JVM Stack Walking API showing how to efficiently traverse stack frames, access local variables, and extract security context without the overhead of traditional stack trace capture.
How ZGC and Shenandoah achieve sub-millisecond pause times through concurrent operations and load barriers, without stopping your application.
Compare arrays and linked lists by access, edits, memory use, and cache behavior, with one operation matrix and a reproducible benchmark for real workloads.
Compare cache-stampede controls by the duplicate work they prevent and the failure modes they add, from local single-flight to distributed leases.
Plan database capacity from measured growth, retention, workload, and provisioning time. Includes a storage forecast and PostgreSQL-specific memory guidance.
Learn connection pool sizing, HikariCP, pgBouncer, and ProxySQL, timeout settings, idle management, and when pooling helps or hurts performance.
Monitor PostgreSQL with user-facing latency, connection and lock pressure, replication lag, and disk headroom. Includes versioned system-view examples and alert guidance.
When to intentionally duplicate data for read performance. Tradeoffs with normalization, update anomalies, and application-level denormalization strategies.
Master composite index column ordering, covering indexes for query optimization, partial indexes for partitioned data, expression indexes, and selectivity.