# performance
5 posts
MongoDB Indexes — Types, Compound Indexes, Covered Queries & explain() Analysis
Understand MongoDB index types, the ESR rule for compound indexes, covered queries, and how to use explain() to analyze query performance in Spring Boot applications.
Java 21 — Virtual Threads Explained with Real Examples
Understand Java virtual threads — how they work, when to use them, migration from thread pools, and real-world performance comparisons with platform threads.
Caching Strategies — Redis, In-Memory & HTTP Cache Headers
A practical guide to caching — when to cache, where to cache, cache invalidation strategies, Redis patterns, HTTP cache headers, and avoiding stale data.
Lists in Compose — LazyColumn, LazyGrid & Performance Tips
Build efficient lists in Jetpack Compose — LazyColumn, LazyRow, LazyGrid, item keys, content types, and performance optimization for smooth scrolling.
Kotlin Value Classes & Inline Functions — Zero-Cost Abstractions
Learn how Kotlin value classes and inline functions give you type safety and abstraction without runtime overhead — wrapping primitives, type-safe IDs, and performance patterns.