Skip to content

Tag: performance

Performance Viktar Patotski Viktar Patotski · 13 min read

Virtual Threads vs Platform Threads: A Spring Boot Benchmark on AWS

Do Java virtual threads make a Spring Boot app faster? I load-tested the same app both ways on real AWS hardware. The honest answer: below saturation they do nothing, on CPU-bound work they do nothing, and where they win on blocking I/O, a properly tuned platform pool matches the throughput. The real case for virtual threads is not raw speed, it is having no pool to tune and a cheaper thread.

Databases Viktar Patotski Viktar Patotski · 14 min read

The Database Scaling Ladder: Every Cheaper Fix Before You Shard

Most teams reach for sharding years before they need it. There is a ladder of cheaper, lower-risk fixes that comes first, and the right rung depends on which bottleneck you actually have: read load, write load, or data size. Here is the ladder, from cheapest to last resort.