Tag

bean-scan

1 views collected around this technical thread.

Architecture Digest
Architecture Digest
Jan 20, 2025 · Backend Development

Optimizing SpringBoot Startup Time: Reducing Bean Scanning and Initialization Overhead

This article explains how a SpringBoot service that originally took 6‑7 minutes to start was trimmed to about 40 seconds by analysing the run‑listener phases, pinpointing costly bean‑scanning and post‑processor steps, and applying JavaConfig‑based selective component registration and cache auto‑configuration adjustments.

JavaPerformanceSpringBoot
0 likes · 16 min read
Optimizing SpringBoot Startup Time: Reducing Bean Scanning and Initialization Overhead
Code Ape Tech Column
Code Ape Tech Column
Jul 10, 2024 · Backend Development

Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks

This article explains how to identify and resolve the severe startup latency of a SpringBoot service by analyzing the SpringApplicationRunListener and BeanPostProcessor stages, narrowing scan packages, manually registering beans with JavaConfig, and handling cache auto‑configuration to reduce launch time from minutes to seconds.

AutoConfigurationBeanPostProcessorCache
0 likes · 18 min read
Optimizing SpringBoot Startup Time: Diagnosing Bean Scanning and Initialization Bottlenecks